14 Commits

Autor SHA1 Mensagem Data
Dave Bort fadb9f6d60 [uapp][psutils] Remove --json from ps now that memgraph handles it
Update memory.md to point to memgraph

Change-Id: I54d9b27a46404fe9203d35f74cb4810b5906ce0e
2017-06-28 18:18:56 +00:00
Dave Bort e66aa2daf3 [kernel][diagnostics] 'k mx vmos hidden' dumps unmapped/kernel VMOs
Tries to provide pieces of the VMO memory puzzle that aren't currently
obvious from ps/vmaps/vmos output.

Also:
- Add a '-u' flag to 'k mx vmos' to fix the units
- Document 'k mx asd kernel'

Change-Id: I72a2f1c5cb937a20a71665b694fb5791c1be5e29
2017-06-21 18:50:23 +00:00
Dave Bort 22d9cf9e78 [uapp] Add the 'vmos' tool, a userspace 'k mx vmos'.
MG-818 #done

Change-Id: I484cbec43b6716dfb40b2f8336e51da70a408305
2017-06-21 18:34:43 +00:00
Dave Bort 0522268a2b [magenta] Put the process's koid in its VmAspace's name
This'll be helpful when printing which aspaces a VMO is mapped into.

Change-Id: I07d52d4ecb0a836aaf9704f81886f28703c2dc25
2017-06-13 01:04:19 +00:00
Dave Bort 6ce498e87c [diagnostics] Add 'k mx vmos all' to dump all VMOs
Also add VMO koids to VmMapping::Dump and VmObjectPages::Dump

Change-Id: I12ff1ef1b29edd52d4df3aa3c09fa835ca8a8a9c
2017-06-13 00:55:57 +00:00
Dave Bort 3f4a5d9d3f [docs] Point to memory.md from README.md
Minor edit to memory.md now that we have better names.

Change-Id: I9aea756b37c095edbd20f77ed63a7c977249d9d6
2017-06-10 00:21:50 +00:00
Dave Bort 92ca47e275 [uapp] Teach kstats to dump kernel memory info
Also print the timestamp before every stat dump, both memory and CPU.

For MG-819: "Tool to print kernel memory usage"

Change-Id: I2ceedd5b72a20d97287a7ed2819d3ee8aa77fde6
2017-06-08 17:55:43 +00:00
Dave Bort d7aca2aa1f [uapp] Make vmaps print the mapped VMO's koid.
Change-Id: Ifbd682ebbb95fa1c27b4a9d6a4198387cf848166
2017-06-07 03:56:56 +00:00
Dave Bort 85f7201b3f [uapp][ps] Roll sizes up to jobs
The entry for a job now shows the sum of memory usage of all of its
descendants.

Change-Id: I2a5f3ae8289595fe45c797737a0217c9ed8c60e3
2017-06-06 23:20:31 +00:00
Adam Barth ec78409956 [docs] Doc how to visualize memory use
Change-Id: I86182e811e8bc1170a21e820a388fec98dbfa1d1
2017-06-02 22:51:11 +00:00
Dave Bort 802520106c [kernel][diagnostics] Show share count in 'k mx vmos'
Change-Id: I83f4bda0f4fcb778e413d866642776eb0770f658
2017-05-30 17:21:50 +00:00
Dave Bort f114be3469 [uapp][ps] Show PSS/PRIVATE/SHARED in ps
Change-Id: I50f71b302c749b90dd812e5aa5d86a125fb211eb
2017-05-26 14:56:30 -07:00
Dave Bort 363dcc281b [vmo][diagnostics] Dump more info in 'k mx vmos'
- VMO names
- Mapped VMOs
- koids of VMOs that the process doesn't have handles to
- Parent koids of cloned VMOs

Change-Id: I7e2ebcb09c1c68817123e77cce4c340ebd127be2
2017-05-25 18:30:14 +00:00
Dave Bort 2236f6a281 [docs] Add basic docs about debugging memory usage
Change-Id: Ibdb109802cc159647f40bd766e4c397942a5870e
2017-04-12 18:53:45 +00:00