Stan Schwertly
Stan Schwertly
Plants and Programming
Skip to content
  • About Stan
  • Contact

pstree

There are 5 posts tagged pstree (this is page 1 of 1).

Hacker School Day 40 – Making pstree Faster/Ugly – Globbing

The final optimization for the pstree clone was to replace file globbing with readdir and a custom isInt function.

in Hacker School | December 5, 2014 | 477 Words | Comment

Hacker School Day 40 – Making pstree Faster/Ugly – Reading Files

I changed from using ioutil’s ReadAll, over to bufio’s ReadFrom, into os.File’s Read for more gross performance gains.

in Hacker School | December 4, 2014 | 592 Words | Comment

Hacker School Day 40 – Making pstree Faster/Ugly – No Regex

I made my pstree clone faster by swapping the regex with string functions. I dived in kernel code for more ridiculous things.

in Hacker School | December 4, 2014 | 695 Words | Comment

Hacker School Day 40 – Making pstree Faster/Ugly

I made my pstree clone faster at the sake of readability and it was just as fun as I hoped.

in Hacker School | December 3, 2014 | 381 Words | Comment

Hacker School Day 39 – pstree and Weird /proc Behavior

I made a pstree clone and found weird behavior in /proc

in Hacker School | December 2, 2014 | 542 Words | Comment

Categories

  • Hacker School
  • Pictures
  • Projects
  • Thoughts
Independent Publisher empowered by WordPress