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
aa813c75
Commit
aa813c75
authored
Feb 04, 2017
by
Hisham Muhammad
Committed by
GitHub
Feb 04, 2017
Browse files
Merge pull request #593 from kamyarrasta/issue/502sessionid
Issue #502 update Session ID column
parents
6141edc7
3f6d1262
Changes
5
Hide whitespace changes
Inline
Side-by-side
darwin/Platform.c
View file @
aa813c75
...
...
@@ -78,7 +78,7 @@ ProcessFieldData Process_fields[] = {
[
STATE
]
=
{
.
name
=
"STATE"
,
.
title
=
"S "
,
.
description
=
"Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)"
,
.
flags
=
0
,
},
[
PPID
]
=
{
.
name
=
"PPID"
,
.
title
=
" PPID "
,
.
description
=
"Parent process ID"
,
.
flags
=
0
,
},
[
PGRP
]
=
{
.
name
=
"PGRP"
,
.
title
=
" PGRP "
,
.
description
=
"Process group ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SESN
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SID
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
TTY_NR
]
=
{
.
name
=
"TTY_NR"
,
.
title
=
" TTY "
,
.
description
=
"Controlling terminal"
,
.
flags
=
0
,
},
[
TPGID
]
=
{
.
name
=
"TPGID"
,
.
title
=
" TPGID "
,
.
description
=
"Process ID of the fg process group of the controlling terminal"
,
.
flags
=
0
,
},
[
MINFLT
]
=
{
.
name
=
"MINFLT"
,
.
title
=
" MINFLT "
,
.
description
=
"Number of minor faults which have not required loading a memory page from disk"
,
.
flags
=
0
,
},
...
...
@@ -166,7 +166,7 @@ ProcessPidColumn Process_pidColumns[] = {
{
.
id
=
TPGID
,
.
label
=
"TPGID"
},
{
.
id
=
TGID
,
.
label
=
"TGID"
},
{
.
id
=
PGRP
,
.
label
=
"PGRP"
},
{
.
id
=
SESSION
,
.
label
=
"S
ESN
"
},
{
.
id
=
SESSION
,
.
label
=
"S
ID
"
},
{
.
id
=
0
,
.
label
=
NULL
},
};
...
...
freebsd/FreeBSDProcess.c
View file @
aa813c75
...
...
@@ -61,7 +61,7 @@ ProcessFieldData Process_fields[] = {
[
STATE
]
=
{
.
name
=
"STATE"
,
.
title
=
"S "
,
.
description
=
"Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)"
,
.
flags
=
0
,
},
[
PPID
]
=
{
.
name
=
"PPID"
,
.
title
=
" PPID "
,
.
description
=
"Parent process ID"
,
.
flags
=
0
,
},
[
PGRP
]
=
{
.
name
=
"PGRP"
,
.
title
=
" PGRP "
,
.
description
=
"Process group ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SESN
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SID
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
TTY_NR
]
=
{
.
name
=
"TTY_NR"
,
.
title
=
" TTY "
,
.
description
=
"Controlling terminal"
,
.
flags
=
0
,
},
[
TPGID
]
=
{
.
name
=
"TPGID"
,
.
title
=
" TPGID "
,
.
description
=
"Process ID of the fg process group of the controlling terminal"
,
.
flags
=
0
,
},
[
MINFLT
]
=
{
.
name
=
"MINFLT"
,
.
title
=
" MINFLT "
,
.
description
=
"Number of minor faults which have not required loading a memory page from disk"
,
.
flags
=
0
,
},
...
...
@@ -92,7 +92,7 @@ ProcessPidColumn Process_pidColumns[] = {
{
.
id
=
TPGID
,
.
label
=
"TPGID"
},
{
.
id
=
TGID
,
.
label
=
"TGID"
},
{
.
id
=
PGRP
,
.
label
=
"PGRP"
},
{
.
id
=
SESSION
,
.
label
=
"S
ESN
"
},
{
.
id
=
SESSION
,
.
label
=
"S
ID
"
},
{
.
id
=
0
,
.
label
=
NULL
},
};
...
...
htop.1.in
View file @
aa813c75
...
...
@@ -217,7 +217,7 @@ The parent process ID.
.B PGRP
The process's group ID.
.TP
.B SESSION (S
ESN
)
.B SESSION (S
ID
)
The process's session ID.
.TP
.B TTY_NR (TTY)
...
...
linux/LinuxProcess.c
View file @
aa813c75
...
...
@@ -144,7 +144,7 @@ ProcessFieldData Process_fields[] = {
[
STATE
]
=
{
.
name
=
"STATE"
,
.
title
=
"S "
,
.
description
=
"Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)"
,
.
flags
=
0
,
},
[
PPID
]
=
{
.
name
=
"PPID"
,
.
title
=
" PPID "
,
.
description
=
"Parent process ID"
,
.
flags
=
0
,
},
[
PGRP
]
=
{
.
name
=
"PGRP"
,
.
title
=
" PGRP "
,
.
description
=
"Process group ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SESN
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SID
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
TTY_NR
]
=
{
.
name
=
"TTY_NR"
,
.
title
=
"TTY "
,
.
description
=
"Controlling terminal"
,
.
flags
=
0
,
},
[
TPGID
]
=
{
.
name
=
"TPGID"
,
.
title
=
" TPGID "
,
.
description
=
"Process ID of the fg process group of the controlling terminal"
,
.
flags
=
0
,
},
[
FLAGS
]
=
{
.
name
=
"FLAGS"
,
.
title
=
NULL
,
.
description
=
NULL
,
.
flags
=
0
,
},
...
...
@@ -227,7 +227,7 @@ ProcessPidColumn Process_pidColumns[] = {
{
.
id
=
TPGID
,
.
label
=
"TPGID"
},
{
.
id
=
TGID
,
.
label
=
"TGID"
},
{
.
id
=
PGRP
,
.
label
=
"PGRP"
},
{
.
id
=
SESSION
,
.
label
=
"S
ESN
"
},
{
.
id
=
SESSION
,
.
label
=
"S
ID
"
},
{
.
id
=
OOM
,
.
label
=
"OOM"
},
{
.
id
=
0
,
.
label
=
NULL
},
};
...
...
unsupported/Platform.c
View file @
aa813c75
...
...
@@ -38,7 +38,7 @@ ProcessFieldData Process_fields[] = {
[
STATE
]
=
{
.
name
=
"STATE"
,
.
title
=
"S "
,
.
description
=
"Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)"
,
.
flags
=
0
,
},
[
PPID
]
=
{
.
name
=
"PPID"
,
.
title
=
" PPID "
,
.
description
=
"Parent process ID"
,
.
flags
=
0
,
},
[
PGRP
]
=
{
.
name
=
"PGRP"
,
.
title
=
" PGRP "
,
.
description
=
"Process group ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SESN
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
SESSION
]
=
{
.
name
=
"SESSION"
,
.
title
=
"
SID
"
,
.
description
=
"Process's session ID"
,
.
flags
=
0
,
},
[
TTY_NR
]
=
{
.
name
=
"TTY_NR"
,
.
title
=
" TTY "
,
.
description
=
"Controlling terminal"
,
.
flags
=
0
,
},
[
TPGID
]
=
{
.
name
=
"TPGID"
,
.
title
=
" TPGID "
,
.
description
=
"Process ID of the fg process group of the controlling terminal"
,
.
flags
=
0
,
},
[
MINFLT
]
=
{
.
name
=
"MINFLT"
,
.
title
=
" MINFLT "
,
.
description
=
"Number of minor faults which have not required loading a memory page from disk"
,
.
flags
=
0
,
},
...
...
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