Next: Platform-Independent Make: pimake
Up: Command Line Utilities
Previous: ODT Column Extraction: odtcols
OOMMF and Process ID Information: pidinfo
The pidinfo command returns the mapping of OOMMF ID's (OID's)
to system process ID's (PID's).
Launching
The pidinfo command line is:
tclsh oommf.tcl pidinfo [standard options] [-account name] \
[-noheader] [-hostport port] [-ports] [-v] [oid ...]
where
- -account name
- Specify the account name. The default is the same used by
mmLaunch:
the current user login name, except on Windows 9X, where the dummy
account ID ``oommf'' may be used
instead.
- -noheader
- Don't print column headers.
- -hostport port
- Use the host server listening on port. Default is set by the
Net_Host port setting in oommf/config/options.tcl, usually
15136.
- -ports
- Display active server ports for each application.
- -v
- Display information about the host and account servers.
- oid ...
- List of OOMMF ID's to display information about. Default is all
current applications.
The title bar of running OOMMF applications typically displays the
application OID, which are used by OOMMF applications to identify one
another. These ID's start at 0 and are incremented each time a newly
launched application registers with the account server. The OID's are
independent of the operating system PID's. The PID is needed to obtain
information, e.g., resource use, about a running process using system
utilities. The PID may also be needed to invoke the operating system
``kill'' facility to terminate a rogue OOMMF application.
OOMMF Documentation Team
May 24, 2006