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
8c43218a
Commit
8c43218a
authored
Aug 24, 2018
by
Hisham Muhammad
Browse files
Introduce screen tabs
parent
e77a16f4
Changes
22
Show whitespace changes
Inline
Side-by-side
openbsd/Platform.c
View file @
8c43218a
...
@@ -98,7 +98,7 @@ static int percentages(int cnt, int64_t *out, int64_t *new, int64_t *old, int64_
...
@@ -98,7 +98,7 @@ static int percentages(int cnt, int64_t *out, int64_t *new, int64_t *old, int64_
ScreenDefaults
Platform_defaultScreens
[]
=
{
ScreenDefaults
Platform_defaultScreens
[]
=
{
{
{
.
name
=
"
Default
"
,
.
name
=
"
Main
"
,
.
columns
=
"PID USER PRIORITY NICE M_SIZE M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command"
,
.
columns
=
"PID USER PRIORITY NICE M_SIZE M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command"
,
.
sortKey
=
"PERCENT_CPU"
,
.
sortKey
=
"PERCENT_CPU"
,
},
},
...
...
unsupported/Platform.c
View file @
8c43218a
...
@@ -31,7 +31,7 @@ const unsigned int Platform_numberOfSignals = sizeof(Platform_signals)/sizeof(Si
...
@@ -31,7 +31,7 @@ const unsigned int Platform_numberOfSignals = sizeof(Platform_signals)/sizeof(Si
ScreenDefaults
Platform_defaultScreens
[]
=
{
ScreenDefaults
Platform_defaultScreens
[]
=
{
{
{
.
name
=
"
Default
"
,
.
name
=
"
Main
"
,
.
columns
=
"PID LWPID USER PRIORITY NICE M_SIZE M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command"
,
.
columns
=
"PID LWPID USER PRIORITY NICE M_SIZE M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command"
,
.
sortKey
=
"PERCENT_CPU"
,
.
sortKey
=
"PERCENT_CPU"
,
},
},
...
...
Prev
1
2
Next
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