1849291 Members
6582 Online
104042 Solutions
New Discussion

Re: /var/opt/sysinfo log

 
Manuales
Super Advisor

/var/opt/sysinfo log

Hi, i found more files in /var/opt/sysinfo folder .. and in this files i can see important things about operating system, whe is configured this log to obtain this informatiion?

thanks, Manuales
6 REPLIES 6
Rick Garland
Honored Contributor

Re: /var/opt/sysinfo log

Have a /var/adm/syslog/*.log
Do not have /var/opt/syslog

Some of this configuration is done in the /etc/syslogd.conf

Examples, the mail.log, the syslog.log.
Steven E. Protter
Exalted Contributor

Re: /var/opt/sysinfo log

Shalom Manuales,

Looked at a relatively normal HP-UX 11i system. Did not even see the folder by that name.

So I'm wondering what tool your system has installed generating files there.

Perhaps the output to a normal utility was re-routed to that location.

Can you provide a few short snippets of what you see?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: /var/opt/sysinfo log

Hi Manuales:

By standards, files in the directory '/var/opt/sysinfo' would be files belonging to an optional set of software installed in '/opt/sysinfo'. Hence, you might see if you have a directory '/opt/sysinfo' and if so, what executable "things" live there.

Regards!

...JRF...
Christine Hartman
Valued Contributor

Re: /var/opt/sysinfo log

Hi there Manuales,

I would do a cron -l and grep for sysinfo to see if anything in cron is writing output to that area. Sounds like there is a script somewhere on your system that collects data about the system and writes it out to /var/opt/sysinfo. Perhaps this is being done so that your backup software can save that info to tape in case you ever have a disaster and have to rebuild your system again (then you can refer to these files to see how your system was before it got destroyed)??

I have heard of sys admins writing such a script AND calling it sysinfo or savesysinfo.sh.

Christine
Raj D.
Honored Contributor

Re: /var/opt/sysinfo log

Hi Manuales ,

sysinfo normally runs through cron , to get everydays important data regarding system configuration, and keeps inside a directory. And many times its useful.

You can check # crontab -l


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Bill Hassell
Honored Contributor

Re: /var/opt/sysinfo log

I believe that the sysinfo directory is created by the sysinfo script, a special tool supplied by HP to selected customers. It creates a very comprehensive inventory of the system and indeed, many of the files are quite large. Since sysinfo will re-create all these files and directories, you can safely delete the directory. If it keeps coming back, a user that knows the root password is running the sysinfo script, or has the script running in cron.


Bill Hassell, sysadmin