47 Commits

Author SHA1 Message Date
Kaiwan N Billimoria
2662dd18f8 use cmd || true style to ensure execution continues on failure
(due to set -e); reported by eibisidi (github)
2024-11-01 08:30:48 +05:30
Kaiwan N Billimoria
11af573d52 TODO comment 2024-09-27 15:55:50 +05:30
Kaiwan N Billimoria
c5c7eddca4 minor cleanups, write option name 2023-12-26 19:46:51 +05:30
Kaiwan N Billimoria
83d3748c22 cleanup service units 2023-12-26 19:45:39 +05:30
Kaiwan N Billimoria
f52e645e18 Add validity check -for the program to run 2023-12-26 19:45:14 +05:30
Kaiwan N Billimoria
1443681385 rename func name to be more human readable :) 2023-12-26 19:44:28 +05:30
Kaiwan N Billimoria
04fca2f8f0 Invoke stress-ng so that it can get OOM'ed 2023-10-09 12:27:19 +05:30
Kaiwan N Billimoria
aac0f62c65 Invoke stress-ng so that it can get OOM'ed 2023-10-09 12:25:41 +05:30
Kaiwan N Billimoria
1ff13fdde0 Add note on parent cgroup ctrlrs 2023-09-22 12:16:22 +05:30
Kaiwan N Billimoria
ee3592852e Only show mem_high_human when non-null 2023-09-22 09:47:28 +05:30
Kaiwan N Billimoria
4683e54f16 More stress on memory to better chances of OOM kill :-) 2023-09-22 08:23:37 +05:30
Kaiwan N Billimoria
4833930555 Warning reg the lowmem svc; unitfile : eliminate any ./ in name 2023-09-21 17:50:36 +05:30
Kaiwan N Billimoria
af432308f4 Add an option to run the cgroupsv2_explore script 2023-08-28 19:22:14 +05:30
Kaiwan N Billimoria
0a50055e90 Display a better 'unpopulated' message 2023-08-28 19:21:21 +05:30
Kaiwan N Billimoria
80c4af7647 better comment 2023-08-27 18:38:45 +05:30
Kaiwan N Billimoria
c1161a0029 avoid grep -q 2023-08-27 18:38:16 +05:30
Kaiwan N Billimoria
ef54d35cf7 Better validity checking on args (depth with space char) and cgroup folder 2023-08-27 17:07:23 +05:30
Kaiwan N Billimoria
c719d4440a Add parameter to primegen 2023-08-23 07:49:07 +05:30
Kaiwan N Billimoria
59d239c4e2 Add comments.. 2023-08-23 07:46:10 +05:30
Kaiwan N Billimoria
b9d40b7976 cleanup 2023-08-23 07:43:07 +05:30
Kaiwan N Billimoria
cfaa00a64a initial commit - cgv2_cpu_ctrl.sh 2023-08-18 18:15:50 +05:30
Kaiwan N Billimoria
8b87486d8f Add a 'time-allowed-to-run' param; optimize w/ -O3 2023-08-18 18:14:52 +05:30
Kaiwan N Billimoria
7006a24c4c small but needed fixes 2023-08-18 18:14:30 +05:30
Kaiwan N Billimoria
dd35cade29 Better security settings; better cpu sched except for svc2.. 2023-08-16 18:11:33 +05:30
Kaiwan N Billimoria
57894feb75 Use and set the keep-enabled-at-boot option to false; better checks 2023-08-16 18:10:45 +05:30
Kaiwan N Billimoria
7fef071969 Initial commit - systemd CPU constraints demo 2023-08-16 16:26:24 +05:30
Kaiwan N Billimoria
6f3f0abbdb Initial commit - primegen 2023-08-16 16:25:28 +05:30
Kaiwan N Billimoria
df90880f96 updt script header 2023-08-16 16:23:51 +05:30
Kaiwan N Billimoria
f9be6924b3 Even if a cg has no immd processes it can have descendants; show the # 2023-08-15 17:01:19 +05:30
Kaiwan N Billimoria
8b39f24532 bugfix: setting val of start_cg var; + simplify root cg print 2023-08-15 16:47:54 +05:30
Kaiwan N Billimoria
e3cb0a7dd5 begin adding memory.* interface o/p; use a size helper func(fr chatGPT\!) 2023-08-02 19:58:14 +05:30
Kaiwan N Billimoria
e1dc9503a9 help scr; footnote 5 2023-08-02 15:24:56 +05:30
Kaiwan N Billimoria
8fcea85b8f Add 'show common' option within verbose 2023-08-02 15:13:24 +05:30
Kaiwan N Billimoria
da068d2cdd show # of empty cgroups; minor: help screen 2023-08-02 13:30:17 +05:30
Kaiwan N Billimoria
ddee1f7ca3 Allow passing the start CGROUP, will show hierarchy recursively from it (more like systemd-cgls\!) 2023-08-02 13:18:50 +05:30
Kaiwan N Billimoria
6167f95097 show # of processes & threads in the cg 2023-07-31 19:23:21 +05:30
Kaiwan N Billimoria
8495336662 Improve the 'help' screen a bit 2023-07-31 18:23:46 +05:30
Kaiwan N Billimoria
6aaf766354 Add option -t to show thread names 2023-07-31 18:18:55 +05:30
Kaiwan N Billimoria
eae4d79bff fix: remove unnecesarry args check 2023-07-31 17:18:46 +05:30
Kaiwan N Billimoria
780e265880 Add option -p to show process names; cleanup 2023-07-31 17:14:11 +05:30
Kaiwan N Billimoria
0c5725b600 minor updt cgv2_explore script 2023-07-31 13:25:31 +05:30
Kaiwan N Billimoria
fec6e40e88 refactor into individual funcs for controllers; getopts for args 2023-07-31 13:15:24 +05:30
Kaiwan N Billimoria
fde771d06e rename 2023-07-31 10:32:07 +05:30
Kaiwan N Billimoria
1ff8cee33d Add an optional depth parameter, usage message 2023-07-31 10:30:10 +05:30
Kaiwan N Billimoria
4291d5a4cf Refactor cgroup fetch details into a function 2023-07-31 10:29:29 +05:30
Kaiwan N Billimoria
565e07b432 show more details- type,processes/thrds,some cpu values 2023-07-31 07:39:04 +05:30
Kaiwan N Billimoria
5d1cede829 initial commit 2023-07-31 06:28:11 +05:30