-
1. Re: PS listing not working in nexec session
Bill RobinsonJul 11, 2018 11:11 AM (in response to Lokanadhan Karthik)
We have been facing issues with nexec sessions where the ps listing doesn't list the processes properly. Is this a known issue or limitation with nsh/nexec?
not working how ? what are you running ?
-
2. Re: PS listing not working in nexec session
Lokanadhan Karthik Jul 11, 2018 11:25 AM (in response to Bill Robinson)ps -ef | grep -i networkmanager
it's not displaying the running process. When we try from a putty session, it's working properly
-
3. Re: PS listing not working in nexec session
Bill RobinsonJul 11, 2018 11:44 AM (in response to Lokanadhan Karthik)
what version of bsa ?
so you ran what?
nexec server ps -ef | grep -i networkmanager
nexec -i -l server sh -c "ps -ef | grep -i networkmanager"
something else ?
what does 'ps -ef' show ?
-
4. Re: PS listing not working in nexec session
Lokanadhan Karthik Jul 11, 2018 11:51 AM (in response to Bill Robinson)BSA - 8.7
nexec -i -l server bash
ps -ef | grep -i networkmanager [ doesn't display the processes ]
if we do the same from a putty session, it works fine
-
5. Re: PS listing not working in nexec session
Bill RobinsonJul 11, 2018 12:00 PM (in response to Lokanadhan Karthik)
% nexec -i -l red7-891 bash
[root@red7-891 ~]# ps -ef | grep -i networkmanager
root 672 1 0 Jul10 ? 00:00:02 /usr/sbin/NetworkManager --no-daemon
root 16624 16595 0 13:00 pts/0 00:00:00 grep --color=auto -i networkmanager
seems to work fine.