[TUHS] Unix v7 ps command question

KenUnix ken.unix.guy at gmail.com
Sun Mar 5 05:49:33 AEST 2023


Hi,

When executing ps alx on the interdata sim I get good output:

# ps alx
 F S UID   PID  PPID CPU PRI NICE  ADDR  SZ  WCHAN TTY TIME CMD
 3 S   0     0     0 255   0   20  2235   2   4262 ?  36:48 swapper
 1 S   0     1     0   0  30   20  2255   8  46060 ?   0:00 /etc/init
 1 S   0    19     1   0  30   20  2745  11  46114 co  0:00 -sh
 1 R   0   301    19   4  50   20  4056  20        co  0:00 ps alx
 1 S   0    12     1   0  40   20  2545   5 140000 ?   0:00 /etc/update
 1 S   1    18     1   0  40   20  2625  10 140000 ?   0:00 /etc/cron
#

When executing ps alx on the pdp11 sim I get bad output:

# ps alx
 F S UID   PID  PPID CPU PRI NICE  ADDR  SZ  WCHAN TTY TIME CMD
115
5120     0     0   1  26    1    55   1   3003 ?  120150:37 swapper
#

I tried copying the source from one machine to the other. No luck, same
issue.

I have attached the source from both machines.

Any help appreciated.

Ken

-- 
WWL 📚
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20230304/19ce2809/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps1.c
Type: text/x-csrc
Size: 11080 bytes
Desc: not available
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20230304/19ce2809/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps2.c
Type: text/x-csrc
Size: 7029 bytes
Desc: not available
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20230304/19ce2809/attachment-0001.c>


More information about the TUHS mailing list