pavement

Talk:Df

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
Line 24: Line 24:
  
 
--[[User:Jimbo|Jimbo]] 04:08, 11 Sep 2004 (GMT)
 
--[[User:Jimbo|Jimbo]] 04:08, 11 Sep 2004 (GMT)
 +
 +
only thing i can think of is to make a script that runs those commands and maybe pull them together and output 'em to STOUT. Ideally, a bourne shell script so you could port it to other unixes. I did find that annoying the first time I tried "free" on a BSD CLI.
  
 
only thing i can think of is to make a script that runs those commands and maybe pull them together and output 'em to STOUT. Ideally, a bourne shell script so you could port it to other unixes. I did find that annoying the first time I tried "free" on a BSD CLI.
 
only thing i can think of is to make a script that runs those commands and maybe pull them together and output 'em to STOUT. Ideally, a bourne shell script so you could port it to other unixes. I did find that annoying the first time I tried "free" on a BSD CLI.

Revision as of 00:37, 11 September 2004

I'd like to see a link here to "Memory free". Does anybody know of a quick and simply was to get a df-style memory listing (something like the free command under Linux or the mem command under DOS)?

I know I can use top, but that shows me a whole lot of stuff I don't wanna see, and not everything I want to see (for instance the total amount of physical memory).

I know I can type

[light@splat ~]$ sysctl -n hw.physmem

to get the amount of physical memory. I can also get a whole bunch of info from vmstat.

If I have the Linux emulation layer installed and the Linux proc system mounted I can type

[light@splat ~]$ cat /usr/compat/linux/proc/meminfo

This gives me almost exactly what I, or in fact what any person first logging into a server and worrying about memory usage, would want to know.

So, is there a simple answer, one that doesn't require anything installed except the basic system? ;)

- Light



Have you looked at muse?

http://www.freebsdsoftware.org/ports.php?c=sysutils&n=muse

--Jimbo 04:08, 11 Sep 2004 (GMT)

only thing i can think of is to make a script that runs those commands and maybe pull them together and output 'em to STOUT. Ideally, a bourne shell script so you could port it to other unixes. I did find that annoying the first time I tried "free" on a BSD CLI.

only thing i can think of is to make a script that runs those commands and maybe pull them together and output 'em to STOUT. Ideally, a bourne shell script so you could port it to other unixes. I did find that annoying the first time I tried "free" on a BSD CLI.

Personal tools