Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
843aded5
Commit
843aded5
authored
Mar 11, 2009
by
Hisham Muhammad
Browse files
sort by PROCESSOR and SESSION
parent
31b3a2d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Process.c
View file @
843aded5
...
...
@@ -538,6 +538,10 @@ int Process_compare(const void* v1, const void* v2) {
return
strcmp
(
p1
->
user
,
p2
->
user
);
case
PRIORITY
:
return
(
p1
->
priority
-
p2
->
priority
);
case
PROCESSOR
:
return
(
p1
->
processor
-
p2
->
processor
);
case
SESSION
:
return
(
p1
->
session
-
p2
->
session
);
case
STATE
:
return
(
p1
->
state
-
p2
->
state
);
case
NICE
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment