- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Daily maintenance?
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
тАО08-24-2000 09:22 AM
тАО08-24-2000 09:22 AM
Re: Daily maintenance?
The make_recovery tapes allow you to recover from a bad situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2000 11:41 AM
тАО08-24-2000 11:41 AM
Re: Daily maintenance?
Every so often make and print out a copy of the following:
/etc/hosts
/etc/passwd
/etc/rc.config.d/netconf
/etc/fstab
Also run these and save/print out the result file.
bdf > (filename)
ioscan -fun > (filename)
swlist > (filename)
There are probably some more that I'm not remembering, but a backup copy/print out of these can be helpful if things go bad.
Hope this helps,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-27-2000 10:43 PM
тАО08-27-2000 10:43 PM
Re: Daily maintenance?
Attached you find a script which can help you check your system.
It check's syslog, spooler, cron, corefiles etc. Run it as root and use what you need.
Good Luck
Comments to Bob.Gulien@croklaan.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2000 03:42 AM
тАО08-28-2000 03:42 AM
Re: Daily maintenance?
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2000 07:17 AM
тАО08-28-2000 07:17 AM
Re: Daily maintenance?
and change the variable "START_ACCT" from 0 to 1 in "/etc/rc.config.d/acct".
Accounting shows many nice things, like who accessed the system, which programs are used the most, who is the CPU hog, etc...
man acct should give you a good start.
A couple of other things pertain to being a bit anal about knowing your system. On my critical seats, I usually run "last" (see man last) and e-mail myself the output, as well as /var/adm/syslog/mail.log and /var/adm/syslog/syslog.log.
A good book to get you started is "Essential System Administration" published by O'Reilly of course!
Best o Luck!
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2000 10:31 AM
тАО08-28-2000 10:31 AM
Re: Daily maintenance?
root 1598 2549 0 11:36:07 ttyd1p1 0:01 /usr/vsifax3/lbin/c2-fim -d fa
root 23953 1 0 Aug 24 ttyd1p10 0:00 /usr/lbin/uucp/uugetty -r -t 6
and my grep line
What is that on the 2nd line, uugetty, should that be killed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2000 11:12 AM
тАО08-28-2000 11:12 AM
Re: Daily maintenance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2000 07:07 PM
тАО09-01-2000 07:07 PM
SolutionTo utilize accounting after setup, you need to do a few things.
Make an entry if it does not exist in "/usr/lib/cron/cron.allow" for "adm".
Setup a cron job for adm at whatever schedult you want accounting to run. Usually, I run at exactly midnight, every night. You may not want weekends, or may want two or three times a day. Hey if you have three shifts, you may want each separate. See note below for multiples.
The cron job should simply run "/usr/sbin/acct/runacct" then "/usr/sbin/acct/pacct". Runacct will process all of the goods, pacct will check disk space, and shutdown accounting if disk space is low.
NOTE ABOUT HOLIDAYS: You will probably get an error "update /etc/holidays blah blah blah". If this happens, accounting will still run, but your file /etc/holidays contains the wrong year. Simply edit the file and put in the correct year.
The output location should be in "/var/adm/acct/sum" and you should have interest in two files. The first should be "rprt$MM$DD" where $MM is the month, and $DD is the day. The next is "loginlog" which shows the last time a user logged in to the host. (If you are really ambitious, the tacct$MM$DD is the C data, which you can write your own tools to extract and manipulate)
The rprt$MM$DD should be ready to print to your favorite printer :)
Special considerations.....
I have scripts that delete OLD data! It adds up quick. Usually, I compress last month, and delete previous month.
NOTE FOR MULTIPLE ACCOUNTING SESSIONS.
There is a file called "/var/adm/acct/nite/lastdate" which tells the accounting system the last time it was run. If you need multiple sessions in a day, this file should be removed. Also, your file rprt$MM$DD and tacct$MM$DD will be overwritten if not renamed. It is not hard to write a script to handle all of these tasks for you.
Best of luck, and have fun!
Shannon
- « Previous
-
- 1
- 2
- Next »