I'm trying to parse the utmpx file so I can reproduce the output of the command 'who' in PHP. I've tried reading the file and using unpack with many variations to achieve this result without success. Could anyone shed some light on how to proceed?
Thanks in advance
Comments
Post a Comment