Five uses for a soon to expire RSA Token
- Lottery ticket number generator
- Toddler toy
- Hammer testing device
- Wobbly table leg shim
- Blog post fodder
In order to silence Ben's nagging, here are my thoughts on the G1 after about 2 days.
I'm really liking what I've seen of Android, and I'm pretty sure I'm going to have one by November. Everyone seems to have a list of the announced apps they want to use but I'd like to find replacements for the following apps I'm pretty happy with in the Windows Mobile world.
So, since the majority of the geeks reading this already have iPhones, what useful apps are guys using that I should hope to find ports for an Android version? (that last sentence is horrible, but you get the gist.)
No one seems to have written a log rotation script for the Proliant Support Pack logs that are stored in /var/spool/compaq/cma.log, so I thought I'd throw mine up here in case someone else needs one. put this in a file called "cma" in /etc/logrotate.d/
/var/spool/compaq/cma.log {
compress
missingok
size=100M
postrotate
/sbin/service hpasm restart 2> /dev/null > /dev/null || true
endscript
}
That's it. this will be picked up by the daily cronjobs and keep things from getting messy. if you want to test your config without doing any changes, run logrotate -d /etc/logrotate.conf which will output the work it plans on doing. If your big log hasn't rotated in that example, run logrotate -f /etc/logrotate.conf which force the job to run. those 6 gigs of logs are now a tidy 39 megs.
\n
\n
\n
\n
\n (0)
\n
\n
\n
\n
\n (0)
\n
\n
\n
\n
\n (0)
\n
\n
\n
\n
\n (0)
Powered by WordPress