0.#use -- Print a
usage message (QNX Neutrino)(查看各命令帮助)
#use ls
1.#pidin -- Display
system statistics (QNX Neutrino)(查看系统信息)
#pidin
a
#pidin
mem
#pidin info
#pidin fa ...
pid tid
name
prio
STATE
Blocked
1 1
/sys/procnto-instr 0f
READY
1 3
/sys/procnto-instr 10r RUNNING
1 4
/sys/procnto-instr 12r
RECEIVE
1
2 1
sbin/tinit
10o
REPLY
1
3 1
proc/boot/slogger 10o
RECEIVE
1
5 1
proc/boot/pci-bios 10o
RECEIVE
1
6 1
roc/boot/devb-eide 10o SIGWAITINFO
6 2
roc/boot/devb-eide 21r
RECEIVE
1
2.#hogs -- List the
processes that are hogging the CPU(查看CPU 使用情况)
$ hogs -n -% 10
PID
NAME MSEC PIDS SYSTEM
1
451
41%
15%
6
devb-eide
141
13%
4%
8
fs-pkg
391
36% 13%
3.#sin -- Display
system information
$ sin -u techpubs
procnto
1
0
0
0
0
268759990
devc-con
2
36K 68K
128M
128M
614
pci-bios
3
28K
60K
4K
516K
16
tinit
4
8K
44K
4K
516K
4
......
4.#coreinfo --
Display information about a QNX Neutrino core file
#coreinfo test_g.core
5.#dumpifs -- Dump
an image filesystem
#dumpefs -- Dump
an embedded filesystem
$ dumpifs shell.ifs
Offset
Size Name
0
288 *.boot
288
100 Startup-header flags1=0x1
paddr_bias=0
388
6008 startup.*
6390
59 Image-header mountpoint=/
63ec
1ac Image-directory
----
---- Root-dirent
6598
8c proc/boot/data1
6624
5c proc/boot/.script
6680
14 proc/boot/data2
7000
2c02c proc/boot/procnto
34000
12ad0 proc/boot/devc-con
47000
b66c proc/boot/esh
53000
d7fc proc/boot/ls
61000
7394 proc/boot/cat
Checksums: image=0x6d5fb484 startup=0x274d7c89
6.#showmem --
Display memory information(查看内存信息)
7.qconfig -- Query
and display QNX installations and configurations(查看版本等安装信息)
加载中,请稍候......