From: Karel Zak <kzak@redhat.com>
To: Frank Mayhar <fmayhar@google.com>
Cc: util-linux@vger.kernel.org
Subject: Re: [PATCH 1/4] fsck: Add a -r option to report memory and runtime statistics.
Date: Tue, 6 Mar 2012 13:54:44 +0100 [thread overview]
Message-ID: <20120306125444.GA8389@x2.net.home> (raw)
In-Reply-To: <1328649050.11787.28.camel@peace.lax.corp.google.com>
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@redhat.com>
http://karelzak.blogspot.com
next prev parent reply other threads:[~2012-03-06 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 21:10 [PATCH 1/4] fsck: Add a -r option to report memory and runtime statistics Frank Mayhar
2012-03-06 12:54 ` Karel Zak [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-03-07 17:26 Frank Mayhar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120306125444.GA8389@x2.net.home \
--to=kzak@redhat.com \
--cc=fmayhar@google.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox