- Implemented new "ps -a" option which, when available, displays
the
complete command line and environment variables of selected,
or all,
tasks. For example:
crash> ps -a automount
PID: 3948 TASK: f722ee30 CPU: 0
COMMAND: "automount"
ARG: /usr/sbin/automount --timeout=60 /net program
/etc/auto.net
ENV: SELINUX_INIT=YES
CONSOLE=/dev/console
TERM=linux
INIT_VERSION=sysvinit-2.85
PATH=/sbin:/usr/sbin:/bin:/usr/bin
LC_MESSAGES=en_US
RUNLEVEL=3
runlevel=3
PWD=/
LANG=ja_JP.UTF-8
PREVLEVEL=N
previous=N
HOME=/
SHLVL=2
_=/usr/sbin/automount
Individual tasks may be selected in the same manner as always;
"ps -a" alone lists all tasks. (anderson@redhat.com)
- Implmented new "ps -g" option, which lists tasks by thread group,
for selected, or all, tasks. For example, to display
the tasks
in the thread group containing task c20ab0b0:
crash> ps -g c20ab0b0
PID: 6425 TASK: f72f50b0 CPU: 0
COMMAND: "firefox-bin"
PID: 6516 TASK: f71bf1b0
CPU: 0 COMMAND: "firefox-bin"
PID: 6518 TASK: d394b930
CPU: 0 COMMAND: "firefox-bin"
PID: 6520 TASK: c20aa030
CPU: 0 COMMAND: "firefox-bin"
PID: 6523 TASK: c20ab0b0
CPU: 0 COMMAND: "firefox-bin"
PID: 6614 TASK: f1f181b0
CPU: 0 COMMAND: "firefox-bin"
The thread group leader will be shown first, with the other
threads
indented. Individual tasks may be selected in the
same manner as
always; "ps -g" alone lists all thread groups. (anderson@redhat.com)
- Fix for "timer" display; although the timer_list entries for each
cpu
are correct, the "TVEC_BASES[cpu]" output was displaying
incorrect
addresses for each cpu's tvec_base_t structure. (anderson@redhat.com)
Download from: http://people.redhat.com/anderson