Columns are not properly aligned

Bug #1098847 reported by vsespb
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
procps (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Example:

1602042 1042130 65% 0.10K 41078 39 164312K buffer_head
1123363 1117475 99% 0.91K 32244 35 1031808K ext4_inode_cache
580167 566835 97% 0.19K 27627 21 110508K dentry
118748 69452 58% 0.55K 4244 28 67904K radix_tree_node

Ubuntu 10.04

slabtop --version
procps version 3.2.8

Revision history for this message
auquicu (aebsbkrs) wrote :

$ vmstat --version
vmstat from procps-ng 3.3.10
$ vmstat 5
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r b swpd free buff cache si so bi bo in cs us sy id wa st
 1 1 0 28127904 392884 3856880 0 0 1183 27 750 1251 0 0 87 12 0
 0 1 0 28114272 394968 3865420 0 0 1679 0 852 1308 0 0 87 12 0
 0 1 0 28076520 403064 3895428 0 0 3851 41 1366 1844 1 0 88 11 0
 0 1 0 28031208 405668 3920144 0 0 4221 101 1674 3620 0 0 87 12 0

Columns are not properly aligned in vmstat output.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in procps (Ubuntu):
status: New → Confirmed
Revision history for this message
auquicu (aebsbkrs) wrote :

The browser shows adjacent spaces as a single space. The same output piped through tr ' ' _ :

procs_-----------memory----------_---swap--_-----io----_-system--_------cpu-----
_r__b___swpd___free___buff__cache___si___so____bi____bo___in___cs_us_sy_id_wa_st
_1__1______0_28127904_392884_3856880____0____0__1183____27__750_1251__0__0_87_12__0
_0__1______0_28114272_394968_3865420____0____0__1679_____0__852_1308__0__0_87_12__0
_0__1______0_28076520_403064_3895428____0____0__3851____41_1366_1844__1__0_88_11__0
_0__1______0_28031208_405668_3920144____0____0__4221___101_1674_3620__0__0_87_12__0

The table header did not anticipate machines with large memory.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.