Result of /bin/ps -o "%p %a" --no-headers -A not showing
Posted: Thu Sep 12, 2019 5:45 am
Hi,
I am using ubuntu 12 and asterisk 11.22, my server was running perfectly fine since last 8 months, suddenly I noticed that my Screens are not showing 7, it shows 5 and 4 screens. I troubleshooted the scripts and I found that /bin/ps -o "%p %a" --no-headers -A this command is not showing result as per requirement.
When i run /bin/ps -o "%p %a" --no-headers -A command on shell it shows below result.
I am not sure how it changed it's result, I run the same command on another machine it shows list of process. Can some one quide me that what this command actualy means? and why it is not showing the desire result. I rebooted the system serveral times. but no success.
Sohaib Khan
Ubuntu 12.04
Asterisk 11.22.0
VERSION: 2.14-669a
BUILD: 180411-1647
© 2018 ViciDial Group
I am using ubuntu 12 and asterisk 11.22, my server was running perfectly fine since last 8 months, suddenly I noticed that my Screens are not showing 7, it shows 5 and 4 screens. I troubleshooted the scripts and I found that /bin/ps -o "%p %a" --no-headers -A this command is not showing result as per requirement.
When i run /bin/ps -o "%p %a" --no-headers -A command on shell it shows below result.
- Code: Select all
root@ccc:~# /bin/ps -o "%p %a" --no-headers -A
PID TTY TIME CMD
23000 pts/7 00:00:00 bash
23224 pts/7 00:00:00 ps
23227 pts/7 00:00:00 ps
root@ccc:~#
I am not sure how it changed it's result, I run the same command on another machine it shows list of process. Can some one quide me that what this command actualy means? and why it is not showing the desire result. I rebooted the system serveral times. but no success.
Sohaib Khan
Ubuntu 12.04
Asterisk 11.22.0
VERSION: 2.14-669a
BUILD: 180411-1647
© 2018 ViciDial Group