Useful Irix Commands
Revision as of 00:11, 15 September 2018 by Netfreak (talk | contribs) (→Graphics and Video Commands)
System Configuration Commands
Hardware Configuration
Inventory Commands
Command | Description |
---|---|
hinv | hardware inventory command |
hinv -vv | verbose hardware inventory |
hinv -mv | hardware inventory with part numbers and revisions |
/usr/gfx/gfxinfo | display graphics subsystems information |
glxinfo | display info about GLX extensions and the OpenGL renderer |
NVRAM, PROM and L1/L2 Controller Commands
nvram,sgikopt | get or set non-volatile RAM variables |
flash | reprogram the flash PROM hardware on Origin and OCTANE machines
-V Print currently loaded flash PROM version and time see also FYI 100490 and the addition sent on August 27 Flash from within the PROM:
|
l1cmd, l2cmd | Send a command to the SGI L1 or L2 System Controller (available on the Origin3000 after IRIX version 6.5.15)
Example:
|
Disk and I/O Commands
diskpatch -v | get info about the disk (very useful) |
swap -ln | list all swap devices (7-column format) |
swap -s | logical swap usage in bytes |
scsicontrol (pre-6.4), scsiha (>= 6.4) | probe and control scsi devices
Examples:
|
scsiadminswap | perform a live plug or unplug of a scsi device
Examples:
|
diskpatch | prevent stiction problems with some disk drives (useful for getting disk information, as well)
Example:
|
mt | magnetic tape manipulation program (mt status is especially useful) |
devnm | identifies the special file associated with the mounted filesystem |
/dev/MAKEDEV | create device special files (Only use from within /dev) |
ioconfig | walks the /hw hardware graph tree and assigns a unique and persistent logical controller number to each physical device found |
setdevperms, /etc/ioperms | adds or removes entries from the /etc/ioperms file
Example:
|
pciconfig | hot-plug insert, hot-plug remove, and query PCI devices |
mkfs | create a filesystem
version=2 is the default >=6.5.14 |
ssmcli, ssmgui | CLI and GUI interfaces to the Storage Processor in a Fibre Channel RAID enclosure (ssmagent must be running) |
fccli | interface to the Storage Processor in a Fibre Channel JBOD enclosure (fcagent must be running) |
bufview | file system buffer cache activity monitor that works like top or osview |
Process and Memory Commands
help_mem | get exact memoryinfo (only at PROM) |
pmem | report per-process memory usage (belongs to package "pcp.sw.monitor /Performance Co-Pilot for IRIX") |
ps | report process status |
gmemusage | graphical memory usage viewer |
osview, gr_osview | system monitor (CLI and GUI) |
top, gr_top | display processes having highest CPU usage (CLI and GUI) |
xload | CPU load with history |
Graphics and Video Commands
startgfx, stopgfx, gfxinit | start/stop the window system |
setmon | set the current and default video output format
Examples:
|
xsetmon | graphical setmon |
xscreen | replaces xsetmon (actually a link to xsetmon) |
flatpanel | SGI O2 only |
ircombine | Create, modify, query, load and save video format combinations |
NUMA/Craylink Commands
linkstat | the Craylink/NUMALink monitoring tool
Example:
|
sn, gr_sn | NUMA Memory Management Configuration Tool (CLI and GUI) |
nstats, gr_nstats | NUMA Memory Management Statistics (CLI and GUI) |
dplace | a NUMA memory placement tool
Example:
|
dlook | a tool for showing memory and process placement
To show memory and thread placement for a program called a.out that would normally be run by: |
mkpart | Partition Configuration Tool for Origin |
sn0log | Read Origin and Onyx2 CPU flash PROM log(s)
Examples:
|
Software Configuration
chkconfig | (services) configuration state checker |
versions | software versions tool
Useful options:
|
showfiles | show files belonging to installed products
Useful options:
Example:
|
showprods | show products installed on the system
Example:
|
nsadmin | Name Service Administration Utility |