Libor Pechacek
02ef9e09e1
Update to 1.6pre1 includes following changes:
...
* Make cpuset compatible with both Python 2 and 3
* Update package meta information
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek
026fb4b1d2
Fix ProgressBar.progress() call
...
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
Libor Pechacek
16b4846505
Use io.open for compatibility with Python 3
...
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
6 years ago
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
058ec1d4b9
v1.5.8 release
...
Signed-off-by: Libor Pechacek <lpechacek@suse.com>
8 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
Mike Galbraith
2214078783
cset, make it handle cgroup mounts
...
When cpuset has been mounted as a cgroup controller, files are prefixes
with "cpuset.", leading to expected files not existing. Change cset's
filename expectations depending on mount type.
Signed-off-by: Mike Galbraith <mgalbraith@suse.de>
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
f1572064d5
Release 1.5.5 with fix for Issue#3.
14 years ago
Alex Tsariounov
cb9ce1ca24
Output message for cset set --cpu_exclusive and --mem_exclusive
...
modification. This is currently not implemented.
14 years ago
Alex Tsariounov
24a7538453
Fix Issue#3: cset fails to create cpu sets if some cpus are offline
...
Problem was in cset.rescan() where if certain cpus are offline the all
cpu mask turns into a complex expression. The split of this
expression did not account for commas and thus threw an exception if
commas were present. This patch fixes that problem and accounts for
complex cpu expression. Also added a couple of targets to the
Makefile.
14 years ago
Alex Tsariounov
6c3a137e28
Increment version for stage release.
14 years ago
Alex Tsariounov
ae5c2923c1
Release 1.5.4
...
Includes patch by mostroski for Issue#2, fixes exception if
running tasks with non-existent uids.
14 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
b01c7911ac
Removed TODO and cpuset/task.py.
14 years ago
Alex Tsariounov
08be173ace
Updated version. Updated documentation. Updated copyright.
...
Added contributor recognition. Updated links to new project
hosting site.
14 years ago
Alex Tsariounov
bd2f26b93a
Patch submitted by Christopher Johnston on 20100210 to fix case
...
sensitivity in set search applied.
14 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