The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 11-12-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
The trouble with dmesg is that if the box has been up for a while the boot messages may no longer be available via dmesg. Also HP has the pstat system calls to obtain info from the kernel. A non-root user can use them and they are safer than running adb on the kernel. For an example of a perl script see: Obtain Memory on HP UNIX.