Re: [PATCH 1/4] fsck: Add a -r option to report memory and runtime statistics.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 07, 2012 at 01:10:50PM -0800, Frank Mayhar wrote:
>  fsck/fsck.8 |   12 +++++++++++-
>  fsck/fsck.c |   38 +++++++++++++++++++++++++++++++++++++-
>  fsck/fsck.h |    2 ++
>  3 files changed, 50 insertions(+), 2 deletions(-)

 Finally I have time to work on fsck. I have created temporary branch
 at github for this task:

    https://github.com/karelzak/util-linux/commits/fsck

 changes:

  - fsck is only one fsck.c file, moved to disk-utils
  - use libmount to parse fstab and for is_mounted() function
  - does not use obsolete lib/fsprobe.c

> +\	/dev/hdc1 status 0 maxrss 92828
> +.br
> +\	/dev/hdc1 user 2.677592 system 0.861868 elapsed 4

 I have merged all to one line, final format is:

/dev/sda1: status 0, rss 92828, real 4.002804, user 2.677592, sys 0.86186

 The real/user/sys should be more compatible with time(1) now (so the
 'real' is based on gettimeofday() although it's not so important for
 fsck).

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux