- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Admin tasks that should be done on a regular basis...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 01:05 AM
тАО10-11-2000 01:05 AM
Admin tasks that should be done on a regular basis & must-have crontab entries?
done to ensure proper functioning of our boxes (such as running fsck
regularly...)? Sure, it depends on their configuration, but let's consider a
typical system.
And a list of crontab entries that we should create for all of our critical
systems (such as an entry for "dmesg -"...)?
TIA, Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 01:23 AM
тАО10-11-2000 01:23 AM
Re: Admin tasks that should be done on a regular basis & must-have crontab entries?
There have been several similar threads on this forum recently. Have a look at:-
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6c91c3d7fb78d4118fef0090279cd0f9,00.html
Personally, I don't run fsck regularly. From experience I've found that VXFS filesystems in particular are extremely reliable.
Even the regular 'dmesg -' >> /var/adm/messages cron job is somewhat redundant these days because the console messages also get written to syslog.
I still run dmesg - regularly though from a script that checks for particular messages and issues an alert to give me an early warning of potential problems.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 01:32 AM
тАО10-11-2000 01:32 AM
Re: Admin tasks that should be done on a regular basis & must-have crontab entries?
There are lots of answers depending, of course, on your environment. Check out the following:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6c91c3d7fb78d4118fef0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf74a49c5ae73d4118fef0090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x2eb6119c3420d411b66300108302854d,00.html
Hopefully this will start you off. Good luck.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 01:37 AM
тАО10-11-2000 01:37 AM
Re: Admin tasks that should be done on a regular basis & must-have crontab entries?
nice cronjob would be to delete core files:
find / -name core -exec rm -f {} \;
Also looking at the filesystems usage frequently is very usefull. I've created a script that uses the bdf command and checks if a filesystem is growing neath 95% and warns me with an email. I scheduled this with cron every hour.
Also i've written a script the examines the LVM (vgdisplay/lvdisplay) to look for stale volumes (if you use mirroring you would'nt get any notification if one of the mirrored disk is stale .. of course this event is logged in /var/adm/syslog/syslog.log but who looks there every time)
If the script found stale volumes it infoms me by an email. I run this every 15 minutes by cron.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2000 02:23 AM
тАО10-11-2000 02:23 AM
Re: Admin tasks that should be done on a regular basis & must-have crontab entries?
1) cat /dev/null > /var/adm/syslog/mail.log
2) cat /dev/null > /var/adm/wtmp
3) /usr/lbin/sa/sa1 900 4
4) /usr/lbin/sa/sa2 -s 00:00 -e 23:45 -i 3600 -A
You can have scripts that will run sar, vmstat and top with date/timestamp, and include the script in your cron.