Pario TechnoBlob
About
Posts
Tag: perl
Detecting changes to your network services/damons
This is a tutorial to detect changes in port from hosts on your network. The basic approach is to ping every available address upon your subnet and see which ones are up by...
Cronjobb som sletter gamle filer
find /data/folder -type f -uid 400 -atime +2 -exec /bin/rm {} ; find /data/folder -type d -uid 400 -atime +2 | sort -r | /usr/bin/perl -e 'foreach (<>) {chop; rmdir;
Change desktop images based on CPU load via a script
On a few recent occasions, I have had to catch and fix runaway CPU-hog zombie processes. Usually, I notice these after a being frustrated for a period of time by slow machine...
««
«
1
2
3
4
»
»»