<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Daily maintenance? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439483#M769099</link>
    <description>Can you give me some suggestions on what I should do on a daily basis.  Right now I do a bulog to make sure my backup worked.  I do a top to see how the system is running.  I do a bdf to check the file systems.  What else (and how) should I be doing on a daily basis?  I will trim files on a monthly basis, through sam.  As you can probably tell I am fairly new at this.  I would like to create some good habits early in my Unix career.  I am running an HP9000 K220 with HPUX 10.20.</description>
    <pubDate>Thu, 24 Aug 2000 12:50:24 GMT</pubDate>
    <dc:creator>Ted Flanders_1</dc:creator>
    <dc:date>2000-08-24T12:50:24Z</dc:date>
    <item>
      <title>Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439483#M769099</link>
      <description>Can you give me some suggestions on what I should do on a daily basis.  Right now I do a bulog to make sure my backup worked.  I do a top to see how the system is running.  I do a bdf to check the file systems.  What else (and how) should I be doing on a daily basis?  I will trim files on a monthly basis, through sam.  As you can probably tell I am fairly new at this.  I would like to create some good habits early in my Unix career.  I am running an HP9000 K220 with HPUX 10.20.</description>
      <pubDate>Thu, 24 Aug 2000 12:50:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439483#M769099</guid>
      <dc:creator>Ted Flanders_1</dc:creator>
      <dc:date>2000-08-24T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439484#M769100</link>
      <description>look at your sulog, and syslog.log from time to time also. Purge them once a month...&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2000 12:54:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439484#M769100</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-24T12:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439485#M769101</link>
      <description>Ted:&lt;BR /&gt;&lt;BR /&gt;You're starting to do the right things.  Check the following two threads for triggers for more:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf74a49c5ae73d4118fef0090279cd0f9,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf74a49c5ae73d4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x2eb6119c3420d411b66300108302854d,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x2eb6119c3420d411b66300108302854d,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And, last, but not least, keep participating in this forum!!!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 24 Aug 2000 12:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439485#M769101</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-08-24T12:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439486#M769102</link>
      <description>One additional option I would include is the creation of make_recovery tapes. I do this once a week. Not needed if you are mirroring the vg00 but if you are not and the vg00 disk crashes, you will need to recreate.]&lt;BR /&gt;&lt;BR /&gt;Another command would be to run the print_manifest on the systems. This will detail for you the system layouts and will help tremendously if you have to rebuild a system. &lt;BR /&gt;&lt;BR /&gt;The Ignite package is a no-cost package.</description>
      <pubDate>Thu, 24 Aug 2000 12:56:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439486#M769102</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-08-24T12:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439487#M769103</link>
      <description>&lt;BR /&gt;As well as what your already doing you should be checking logfiles for important errors; &lt;BR /&gt;1. /var/adm/syslog/syslog.log&lt;BR /&gt;2. root mail for any mailed errors from the system&lt;BR /&gt;3. use the dmesg command to check for important kernel errors&lt;BR /&gt;4. periodcially check the hardware logs using xstm (need to install OnlineDiag from the SupportCD)&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2000 12:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439487#M769103</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2000-08-24T12:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439488#M769104</link>
      <description>Victor,&lt;BR /&gt;  What is sulog?&lt;BR /&gt;  How to you check it?&lt;BR /&gt;  I tried the command and it says not found, I did find it in /var/adm  typed in sulog and nothing happend.  I tried to vi it with no success.&lt;BR /&gt; What do I do with syslog.log?  How do you check it and what am I looking for?</description>
      <pubDate>Thu, 24 Aug 2000 12:59:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439488#M769104</guid>
      <dc:creator>Ted Flanders_1</dc:creator>
      <dc:date>2000-08-24T12:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439489#M769105</link>
      <description>Welcome to the Club! &lt;BR /&gt;What you are doing is already a good start!&lt;BR /&gt;Check the logs (especially /var/adm/syslog/syslog.log) for possible errors, notice that are repetetived tasks, try to make scripts and automated them. (Cron can help you with that).&lt;BR /&gt;Depends on your environment, you can check as well network, database, application, printer status.&lt;BR /&gt;See if you have glance and perfview to get some reports. If not, you can use vmstat and other tools to see what can be improved.&lt;BR /&gt;For daily stuff, not more... Be sure you have enough info (prints out, backup tapes0 and a strategy for DR (disaster recovery).&lt;BR /&gt;Will be good day, will be days as hell... Good luck!</description>
      <pubDate>Thu, 24 Aug 2000 13:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439489#M769105</guid>
      <dc:creator>Antoanetta Naghiu</dc:creator>
      <dc:date>2000-08-24T13:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439490#M769106</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;A Unix System Administrator has quit a lot of responsibilities, too many to summarize in here.&lt;BR /&gt;&lt;BR /&gt;There are a number of great sites on the www for us guys. A good starting point would be&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.ugu.com" target="_blank"&gt;http://www.ugu.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are links to sites on all possible flavours of our favorite OS.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Rik.</description>
      <pubDate>Thu, 24 Aug 2000 13:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439490#M769106</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-08-24T13:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439491#M769107</link>
      <description>sulog is in /var/adm&lt;BR /&gt;in this file you will see all people doing su someone else (...) &lt;BR /&gt;I shoul add purging /var/adm/syslog/syslog.log is not just removing the file or &amp;gt;syslog.log&lt;BR /&gt;Do it properly:&lt;BR /&gt;# mv syslog.log syslog.log.old&lt;BR /&gt;&lt;BR /&gt;and restart syslogd:&lt;BR /&gt;# cd /sbin/init.d&lt;BR /&gt;./syslogd stop&lt;BR /&gt;./syslogd start&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 24 Aug 2000 13:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439491#M769107</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-24T13:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439492#M769108</link>
      <description>Since your entered the club,&lt;BR /&gt;Some more links maybe (thats how I started...)&lt;BR /&gt;&lt;A href="http://www.washington.edu/R870/" target="_blank"&gt;http://www.washington.edu/R870/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wks.uts.ohio-state.edu/sysadm_course/sysadm.html" target="_blank"&gt;http://wks.uts.ohio-state.edu/sysadm_course/sysadm.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Victor</description>
      <pubDate>Thu, 24 Aug 2000 13:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439492#M769108</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2000-08-24T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439493#M769109</link>
      <description>Like Rick, I also do a periodic set of make_recovery tapes for my systems.  Keep in mind that mirroring only protects you from a disk drive failure of your primary drive.  If data is corrupted or deleted, mirroring will give you 2 copies of corrupted data or the data will be gone from both drives.&lt;BR /&gt;The make_recovery tapes allow you to recover from a bad situation.&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2000 16:22:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439493#M769109</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2000-08-24T16:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439494#M769110</link>
      <description>Couple more things to do, though not daily.&lt;BR /&gt;Every so often make and print out a copy of the following:&lt;BR /&gt;/etc/hosts&lt;BR /&gt;/etc/passwd&lt;BR /&gt;/etc/rc.config.d/netconf&lt;BR /&gt;/etc/fstab&lt;BR /&gt;&lt;BR /&gt;Also run these and save/print out the result file.&lt;BR /&gt;bdf &amp;gt; (filename)&lt;BR /&gt;ioscan -fun &amp;gt; (filename)&lt;BR /&gt;swlist &amp;gt; (filename)&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Steve&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Aug 2000 18:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439494#M769110</guid>
      <dc:creator>Steve Sauve</dc:creator>
      <dc:date>2000-08-24T18:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439495#M769111</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Attached you find a script which can help you check your system.&lt;BR /&gt;It check's syslog, spooler, cron, corefiles etc. Run it as root and use what you need.&lt;BR /&gt;&lt;BR /&gt;Good Luck&lt;BR /&gt;&lt;BR /&gt;Comments to Bob.Gulien@croklaan.com</description>
      <pubDate>Mon, 28 Aug 2000 05:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439495#M769111</guid>
      <dc:creator>Bob Gulien</dc:creator>
      <dc:date>2000-08-28T05:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439496#M769112</link>
      <description>I like to do a # ps -ef    to check to see what processes are being run at that time, and a # ps -ef | grep d1p1 to see if there are any hung processes out there.  Hung processes tend to hold the system up and over time, cause a great deal of problems.  if there is ever a hung process, do a kill -9 on the process to clear it.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!</description>
      <pubDate>Mon, 28 Aug 2000 10:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439496#M769112</guid>
      <dc:creator>Bill Ogle_1</dc:creator>
      <dc:date>2000-08-28T10:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439497#M769113</link>
      <description>Another nice part of Unix, which no-one has mentioned is system accounting.  To enable accounting run "/usr/sbin/acct/turnacct on"&lt;BR /&gt;and change the variable "START_ACCT" from 0 to 1 in "/etc/rc.config.d/acct".&lt;BR /&gt;Accounting shows many nice things, like who accessed the system, which programs are used the most, who is the CPU hog, etc...&lt;BR /&gt;man acct should give you a good start.&lt;BR /&gt;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.&lt;BR /&gt;A good book to get you started is "Essential System Administration" published by O'Reilly of course!&lt;BR /&gt;&lt;BR /&gt;Best o Luck!&lt;BR /&gt;Shannon</description>
      <pubDate>Mon, 28 Aug 2000 14:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439497#M769113</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2000-08-28T14:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439498#M769114</link>
      <description>Bill, I did a ps -ef on d1p1 and got 3 lines back.&lt;BR /&gt; root  1598  2549  0 11:36:07 ttyd1p1   0:01 /usr/vsifax3/lbin/c2-fim -d fa&lt;BR /&gt;root 23953     1  0  Aug 24  ttyd1p10  0:00 /usr/lbin/uucp/uugetty -r -t 6&lt;BR /&gt;and my grep line&lt;BR /&gt;What is that on the 2nd line, uugetty, should that be killed?&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Aug 2000 17:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439498#M769114</guid>
      <dc:creator>Ted Flanders_1</dc:creator>
      <dc:date>2000-08-28T17:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439499#M769115</link>
      <description>Shannon, How do you run acct after you set it up?</description>
      <pubDate>Mon, 28 Aug 2000 18:12:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439499#M769115</guid>
      <dc:creator>Ted Flanders_1</dc:creator>
      <dc:date>2000-08-28T18:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Daily maintenance?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439500#M769116</link>
      <description>Sorry for the delay in answering, I have been a bit busy, and not able to follow threads as well as I would like.&lt;BR /&gt;To utilize accounting after setup, you need to do a few things.&lt;BR /&gt;Make an entry if it does not exist in "/usr/lib/cron/cron.allow" for "adm".&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;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)&lt;BR /&gt;The rprt$MM$DD should be ready to print to your favorite printer :)&lt;BR /&gt;Special considerations.....&lt;BR /&gt;I have scripts that delete OLD data!  It adds up quick.  Usually, I compress last month, and delete previous month.&lt;BR /&gt;NOTE FOR MULTIPLE ACCOUNTING SESSIONS.&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Best of luck, and have fun!&lt;BR /&gt;Shannon</description>
      <pubDate>Sat, 02 Sep 2000 02:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/daily-maintenance/m-p/2439500#M769116</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2000-09-02T02:07:57Z</dc:date>
    </item>
  </channel>
</rss>

