3 ms·
Maybe just me. I tried the command: ps aux | convert label:@- process.png And got an image that was useless. Nothing readable.
by graton 5y ago
Maybe just me. I tried the command:
ps aux | convert label:@- process.png
And got an image that was useless. Nothing readable.
- WarOnPrivacy 5y agoOh. Now I know what kind of one-liners he meant.
- susam 5y agoDid you zoom in enough? On my system, it produces an image with pixel width of 11000 and file size of 3 MB, so the text appears too small when the default image viewer shows it at 12% zoom in order to make it fit within the available display size. Zooming in to show it at 100% zoom makes the text readable. While this command works fine and is readable too at 100% zoom, I wonder why one would do this. Isn't copy-pasting the text output of 'ps aux' more convenient than creating a large image out of it that is not easy to read, filter, etc.?
- pnutjam 5y agopretty sure it just puts the image of all the lines from the screen on top of each other, so it's pretty useless for me too. I've been trying to get this to work so I can automate screen grabs that are required for some audits we do.
- throw7 5y agoI had better luck with the netpbm tools: ps aux | pbmtext | pnmtopng > process.png