here's another htop at 10 fps, and here's some of the worst C code I've written (also I got all the raw frames off someone else's Github)
here's another htop at 10 fps, and here's some of the worst C code I've written (also I got all the raw frames off someone else's Github)
@grawity I know argv[0] is not const but I definitely didn't know it'd be visible outside the process, what the fuck
BRB implementing the worst IPC I've ever thought of
@barometz it's how you have those processes named "nginx: worker process" and "sshd: grawity@pts/0"
(as a side note, afaik OpenBSD 'ps' enforces that such process titles have to start with "origname:" or something like that)
there's also the short 16-char command name, which is mutable separately from argv[0], by writing to /proc/self/comm