Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pollution of ps / top #166

Open
nyxaria opened this issue Feb 8, 2024 · 0 comments
Open

pollution of ps / top #166

nyxaria opened this issue Feb 8, 2024 · 0 comments

Comments

@nyxaria
Copy link

nyxaria commented Feb 8, 2024

Hi, when I run the following program (sleep.sh)

#!/bin/bash
sleep 1
sleep 1
sleep 1
sleep 1
sleep 1

sleep 1
echo "done"

(compiled using shc -f sleep.sh && mv sleep.sh.x sleep && ./sleep)

I can see the contents of the program when I run ps -ax | grep sleep, alongside a LOT of whitespace:

image

Is there a way to avoid this?

I would ideally only want to see ./sleep in ps output if possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant