find memory cisco device

itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
I know how to use show mem and show flash

but is there a way to find:

nvram
flash
ram

? all in one command.

show memory show the ram right?
of course show flash shows flash

show what is nvram size?

to summarize and please correct me if I am wrong

Nvram is for startup config storage
ram is for both IOS and startup config to run in
flash holds files such as the image .bin and other files

I just would like a command that shows them all
thanks
I dont know of any that show nvram size?

Comments

  • Forsaken_GAForsaken_GA Member Posts: 4,024
    itdaddy wrote: »
    I dont know of any that show nvram size?

    Should probably take a closer look at show ver

    Cisco 2611XM (MPC860P) processor (revision 3.0) with 127308K/3764K bytes of memory.
    Processor board ID JAE0818FEFT
    M860 processor: part number 5, mask 2
    2 FastEthernet interfaces
    32K bytes of NVRAM.
    49152K bytes of processor board System flash (Read/Write)


    Of course what show ver shows can be different from platform to platform


    Cisco WS-C3550-48 (PowerPC) processor (revision Q0) with 65526K/8192K bytes of memory.
    Processor board ID CAT0845Y124
    Last reset from warm-reset
    Running Layer2/3 Switching Image

    The password-recovery mechanism is enabled.
    384K bytes of flash-simulated NVRAM.


    If you're trying to view the actual contents of nvram, use dir nvram: and more nvram:
  • mikej412mikej412 Member Posts: 10,086 ■■■■■■■■■■
    Here's the info from a 2950 switch.....

    show version
    S2950-2#show version
    Cisco Internetwork Operating System Software
    IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE
    ......

    32K bytes of flash-simulated non-volatile configuration memory.

    ......

    S2950-2#
    and for the contents:
    S2950-2#dir ?
      /all             List all files
      /recursive       List files recursively
      all-filesystems  List files on all filesystems
      bs:              Directory or file name
      cns:             Directory or file name
      flash:           Directory or file name
      null:            Directory or file name
      nvram:           Directory or file name
      system:          Directory or file name
      xmodem:          Directory or file name
      ymodem:          Directory or file name
      <cr>
    
    S2950-2#dir all-filesystems
    Directory of flash:/
    
        2  -rwx         109  Feb 28 1993 18:01:46 -06:00  info
        3  -rwx         269  Dec 31 1969 18:01:47 -06:00  env_vars
        4  -rwx         976  Mar 26 1993 15:39:31 -06:00  vlan.dat
        5  -rwx        4937  Feb 28 1993 18:09:33 -06:00  config.old
        7  -rwx     3097872  Feb 28 1993 18:03:16 -06:00  c2950-i6q4l2-mz.121-22.EA4.bin
        8  drwx        4032  Feb 28 1993 18:03:45 -06:00  html
      362  -rwx         109  Feb 28 1993 18:04:16 -06:00  info.ver
      363  -rwx          25  Feb 28 1993 18:23:24 -06:00  private-config.text
      364  -rwx        1048  Feb 28 1993 18:23:24 -06:00  multiple-fs
      365  -rwx        2947  Feb 28 1993 18:23:24 -06:00  config.text
    
    7741440 bytes total (3070464 bytes free)
    Directory of nvram:/
    
       28  -rw-        2947                    <no date>  startup-config
       29  ----          25                    <no date>  private-config
        1  -rw-           0                    <no date>  ifIndex-table
    
    32768 bytes total (28720 bytes free)
    Directory of system:/
    
        2  dr-x           0                    <no date>  memory
        1  -rw-        3715                    <no date>  running-config
    
    No space information available
    S2950-2#
    
    :mike: Cisco Certifications -- Collect the Entire Set!
  • Forsaken_GAForsaken_GA Member Posts: 4,024
    Huh, you know, it never actually occurred to me to do ? on the dir command to see what my other options were. Thanks mike!
  • itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
    thanks; I did a reload on my ap1200 and it showed all that too likeyou guys said...i thought there might be a show all memory types command ahha aahahah

    thank...I do need to look closer it is in ther witha ll that writing my Ap1200 puts out on reload but a show version doesn show much.weird but thanks guys doing an inventory of all my 20 devices so I can upgrad some if needed thanks ;) appreciate your help icon_cheers.gif
  • itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
    cisco 2511 (68030) processor (revision D) with 8192K/2048K bytes of memory

    this means RAM right? how do you read exact ram size?

    confused on this what does the ratio mean?
  • AlanJamesAlanJames Member Posts: 230
    show processes memory to see what process is using the most memory
  • captobviouscaptobvious Member Posts: 648
    itdaddy wrote: »
    cisco 2511 (68030) processor (revision D) with 8192K/2048K bytes of memory

    this means RAM right? how do you read exact ram size?

    confused on this what does the ratio mean?
    8192K = processor memory
    2048K = i/o memory

    Default is 75%/25%
  • itdaddyitdaddy Member Posts: 2,089 ■■■■□□□□□□
    captobvious and AlanJames

    thanks guys just read all the posts and thanks I got it ;)
    bad eyes.
Sign In or Register to comment.