Commit Graph

15 Commits (78f3c08545181fc8990b71806708106de0b1ff27)

Author SHA1 Message Date
Libor Pechacek 78f3c08545 Update author's e-mail address
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
7 years ago
Libor Pechacek ee601b92d3 Clean up after automated conversion
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
7 years ago
Libor Pechacek 1344191105 Pass cpuset through Futurize
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
7 years ago
Libor Pechacek b5bcd7937c Recognize SCHED_DEADLINE policy
Introduced in kernel v3.14.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
7 years ago
Libor Pechacek 226c8185d4 Parse /proc/<pid>/stat properly
Process names can contain spaces.  Handle these cases correctly.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
9 years ago
Libor Pechacek 0dab14e927 Handle unknown scheduler policy codes gracefully
Prevent unhandled exception upon reading unknown scheduler policy code from
/proc/<pid>/stat.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
9 years ago
Libor Pechacek de1ae0d598 Fix crash with SCHED_IDLE policy
There are two new schduling policies to be recognized by cset.  SCHED_ISO and
SCHED_IDLE.  The former is not yet implemented in Linux kernel so we write out
'???' when we encounter its code.  For the latter there is the string 'idl'.

Signed-off-by: Libor Pechacek <lpechacek@suse.com>
9 years ago
Alex Tsariounov 852b9985ff Also set USER env var when execting new process with the --user
option.
13 years ago
Alex Tsariounov ae24e7d34a Fix for Issue #5 (LOGNAME not set on exec with --user parameter)
Also updated dates and some incorrect texts.
13 years ago
Alex Tsariounov afa3d3943d Apply patch by mostroski to commands/proc.py which fixes exception if
a process is run with a nonexistant uid.  When listing processes
running in a cpuset, the patch tries to lookup the user name by uid,
and if the uid does not exist in /etc/passwd, the uid is printed
instead of the user name.
14 years ago
Alex Tsariounov 08be173ace Updated version. Updated documentation. Updated copyright.
Added contributor recognition.  Updated links to new project
hosting site.
15 years ago
Alex Tsariounov 7509eceabe Added current release 1.5.2 to repo. 15 years ago
Alex Tsariounov 19b596ac2b Added prior version 1.5.1 to repo. 15 years ago
Alex Tsariounov 370b2333ed Add prior version 1.5.0 to repo. 15 years ago
Alex Tsariounov 7c9c4134b3 Add prior release version 1.04 to repo. 15 years ago