Bug 136437 - New port: sysutils/devstat Utility to display device statistics
Summary: New port: sysutils/devstat Utility to display device statistics
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-07 20:50 UTC by Mikolaj Golub
Modified: 2009-07-08 02:10 UTC (History)
0 users

See Also:


Attachments
file.shar (1.75 KB, text/plain)
2009-07-07 20:50 UTC, Mikolaj Golub
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikolaj Golub 2009-07-07 20:50:01 UTC
devstat displays disk statistics provided by devstat(9) kernel interface.

This is very simple utility, it does not do much, but I found it very useful on my hosts when I needed to collect disk statistics periodically or got it form core dump. 

Actually I would like to have something like this in base system, but in ports is nice too :-)

The output (a la netstat -s):

zhuzha:~% devstat ad4
ad4:
        21229123584 bytes read
        28455829504 bytes written
        0 bytes freed
        3537002 reads
        2062427 writes
        0 frees
        0 other
        duration:
                11804 16497676851130177162/2^64 sec reads
                295340 1262669492698438076/2^64 sec writes
                0 0/2^64 sec frees
        11280 10298079202142795648/2^64 sec busy time
        1 283602973081342936/2^64 sec creation time
        512 block size
        tags sent:
                5599429 simple
                0 ordered
                0 head of queue
        supported statistics measurements flags: 0
        device type: 0
        devstat list insert priority: 4095

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-07-07 20:50:13 UTC
Class Changed
From-To: sw-bug->change-request

Fix category (new ports should be change-requests) (via the GNATS Auto 
Assign Tool)
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2009-07-07 21:38:56 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

I'll take it.
Comment 3 Dmitry Marakasov freebsd_committer freebsd_triage 2009-07-08 02:02:44 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-07-08 02:02:48 UTC
amdmi3      2009-07-08 01:02:38 UTC

  FreeBSD ports repository

  Modified files:
    sysutils             Makefile 
  Added files:
    sysutils/devstat     Makefile distinfo pkg-descr 
  Log:
  devstat is a small program that displays device statistics
  available via kernel devstat(9) interface.
  
  WWW: http://devstat.googlecode.com/
  Author: Mikolaj Golub <to.my.trociny@gmail.com>
  
  PR:             136437
  Submitted by:   Mikolaj Golub <to.my.trociny@gmail.com>
  
  Revision  Changes    Path
  1.1117    +1 -0      ports/sysutils/Makefile
  1.1       +23 -0     ports/sysutils/devstat/Makefile (new)
  1.1       +3 -0      ports/sysutils/devstat/distinfo (new)
  1.1       +5 -0      ports/sysutils/devstat/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"