Bug 62766 - systat(1) -vm does not work on diskless machines
Summary: systat(1) -vm does not work on diskless machines
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.2-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 02:40 UTC by Mikhail T.
Modified: 2020-08-31 16:06 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2004-02-13 02:40:13 UTC
	Synopsis says it all. Some screens of systat(1) work fine,
	but -vm causes systat to exit complaining about missing
	disks.

How-To-Repeat: 	Try ``systat -vm'' on a diskless machine.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:36 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 ota 2020-08-30 02:39:48 UTC
I just tested this on 12.1-RELEASE and systat DOES work okay.

pxeboot# df -h
Filesystem             Size    Used   Avail Capacity  Mounted on
10.0.0.1:/mnt/sys      1.9G    1.0G    817M    55%    /
devfs                  1.0K    1.0K      0B   100%    /dev
tmpfs                  357M    8.0K    357M     0%    /tmp
tmpfs                   32M    144K     32M     0%    /var
10.0.0.1:/usr          6.8G    2.3G    4.0G    36%    /usr
10.0.0.1:/usr/local    9.7G    6.5G    2.4G    73%    /usr/local

pxeboot# systat -vm
    3 users    Load  0.23  0.32  0.18                  Aug 29 22:29
   Mem usage:  20%Phy 12%Kmem 0k%VM
Mem: KB    REAL            VIRTUAL                      VN PAGER   SWAP PAGER
        Tot   Share      Tot    Share    Free           in   out     in   out
Act   53256   12080   165316    15004  369472  count
All   53612   12436   165864    15552          pages
Proc:                                                            Interrupts
  r   p   d   s   w   Csw  Trp  Sys  Int  Sof  Flt        ioflt  2010 total
             23       196   19  798 2009   34    7        cow    2004 attimer0 0
                                                          zfod        atkbd0 1
 0.4%Sys   0.0%Intr  1.2%User  0.0%Nice 98.5%Idle         ozfod       fdc0 6
|    |    |    |    |    |    |    |    |    |           %ozfod       ppc0 7
>                                                         daefr       acpi0 9
                                           dtbuf          prcfr       uhci0+ 10
Namei     Name-cache   Dir-cache     15472 desvn          totfr     6 cbb0 cbb1+
   Calls    hits   %    hits   %       961 numvn          react       ata0 14
       9       9 100                    67 frevn          pdwak       ata1 15
                                                        5 pdpgs
Disks                                                     intrn
KB/t                                                64884 wire
tps                                                 22540 act
MB/s                                                 5376 inact
%busy                                                     laund
Comment 3 Mark Johnston freebsd_committer freebsd_triage 2020-08-31 16:06:07 UTC
Indeed, I cannot see any error messages on a system booted disklessly on stable/12.
Comment 4 Mark Johnston freebsd_committer freebsd_triage 2020-08-31 16:06:36 UTC
(Please re-open if you are able to confirm an issue on a recent version of FreeBSD.  Sorry that this was never investigated.)