HP3000-L Archives

October 2008, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gilles Schipper <[log in to unmask]>
Reply To:
Gilles Schipper <[log in to unmask]>
Date:
Fri, 3 Oct 2008 12:29:06 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (64 lines)
Something else to look at:

/var/stm/logs/os/logn.raw, logn.raw.cur.
/var/stm/logs/sys/*.log

These files in the posix domain can grow quite substantially.

You can quite safely purge the large ones and rebuild with the posix
shell "touch" command.

For example:

MPE XL:hello manager.sys
ENTER ACCOUNT (SYS) PASSWORD:

HP3000  Release: C.70.00   User Version: C.70.01   SUN, SEP 28, 2008,  7:45 PM
MPE/iX  HP31900 C.39.06  Copyright Hewlett-Packard 1987.  All rights reserved.
:sh
$ cd /var/stm/logs
$ ls -l
total 17
drwxr-xr-x   2 MANAGER.SYS       0            416 Sep 28 19:45 os
drwxr-xr-x   2 MANAGER.SYS       0            608 Sep 14 22:51 sys
-rw-------   1 MANAGER.SYS       0            408 Oct 11  2001 tool_stat.txt
drwxr-xr-x  53 MANAGER.SYS       0           5120 Aug 27 20:56 tools
-rw-rw-rw-   1 MANAGER.SYS       0            972 Oct 11  2001 ui_activity_log
drwxrwxrwx   4 MANAGER.SYS       0            416 Nov 30  2007 utilities
$ cd os
$ ls -l
total 101
-rw-r--r--   1 MANAGER.SYS       0          51404 Sep 28 19:45 log1.raw.cur
-rw-r--r--   1 MANAGER.SYS       0              0 Sep 28 19:45 memlog
$ rm log1.raw.cur
$ touch log1.raw.cur
$ ls -l
total 30
-rw-rw-rw-   1 MANAGER.SYS       0              0 Sep 28 19:46 log1.raw.cur
-rw-r--r--   1 MANAGER.SYS       0          15044 Sep 28 19:45 memlog
$ chmod 644 log1.raw.cur
$ ls -l
total 30
-rw-r--r--   1 MANAGER.SYS       0              0 Sep 28 19:46 log1.raw.cur
-rw-r--r--   1 MANAGER.SYS       0          15044 Sep 28 19:45 memlog
$

(The "chmod" command is used to set the file access attribute bits of
the rebuilt file to its original value.)




-------------------------------------------------------------------------------------------------
Gilles Schipper
GSA Inc.
HP System Administration Specialists
300 John Street, Box 87651   Thornhill, ON Canada L3T 7R4
Voice: 905.889.3000     Fax: 905.889.3001
email:  [log in to unmask]  web: http://www.gsainc.com
-------------------------------------------------------------------------------------------------


* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2