On linux, you can read in /proc/stat for cpu specific and aggregated data. Other info in /proc/stat can get you info on each running process. Google for procfs and /proc/stat...
On Tuesday, September 25, 2012 at 11:05:12 AM UTC-4, ISockGo wrote: > > Hi, > > I am almost done with a chat server in Go, it's going good I guess. > Now I am required to do some manipulation at runtime according to CPU and > memory usage. Can one suggest me the apis in Go to check the CPU and memory > usage of system at the run time and right way to use it. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.