Begin File: os_info.tgz Description:system analysis tools Keywords:tools monitor resources dumplog osstat osinfo Version: Entered-date: Author: Ported-by: Original-site: Copying-policy: Supplemental: These programs are designed to help in system analysis. dumplog.c ============== - log process deaths (QNX) Options: -f file Append to this file when logging process deaths. Default is write to stdout. -r Include register information in death log. -a All deaths, not just abnormal ones. Start this program in the background with any options desired. e.g. dumplog -f /tmp/getlog & (must run this as root) osinfo.c ================ [ -w watermark -s sleep_period -p priority -b browser -f logfile ] watermark: If a parameter goes over this watermark (if a high parameter) or under (if a low) then a 'water hit' counter will be incremented. Default is 20%. This makes 20% of maximum for a low water mark and (100-20)=80% for a high water mark. sleep_period: Seconds to sleep between polls. Default is 3. priority: Priority to run at. Default is current priority. browser: File browser to use. e.g. /bin/less logfile: Logfile created by dumplog. e.g. osinfo -h 10 -s 1 -p 20 -b less -f /tmp/getlog The above example will poll every 1 second. It will check the last update time of '/tmp/getlog' every second and display a blinking message if new process deaths have occurred since you last browsed the file. osstat.c ================ A program that demonstrates how to use qnx_osstat.c Please note that these utilities are unsupported and are provided as examples of how to integrate performance monitoring tools into your system analysis. Feel free to modify the sources as required. Any questions or concerns send mail to 'randy' on quics. Enjoy! archive contents: drwxrwxr-x 0 jwall techies Jan 23 11:12 os_info -rw-rw-r-- 0 jwall techies 175 Jun 18 17:15 os_info/Makefile -rw-rw-r-- 0 jwall techies 1714 Jul 8 11:11 os_info/README -rw-rw-r-- 0 jwall techies 5050 Jun 16 18:45 os_info/dumplog.c -rwxrwxr-x 0 jwall techies 31528 Oct 19 10:45 os_info/osinfo -rw-r--r-- 0 jwall techies 15165 Jun 24 11:14 os_info/osinfo.c -rw-rw-r-- 0 jwall techies 3416 Jul 8 11:08 os_info/osstat.c End