cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
585
Views
0
Helpful
2
Replies

How do I determine what files or processes are using my flash memory?

rweir0001
Level 1
Level 1

I'm trying to determine what is eating up so much memory in the flash on my switch. I have a WS-C3560-24TS and the sho flash command shows that I have roughly 15 Mb total but only 4 Mb free. When I add up the bytes for every file in flash it only comes out to about 551635 bytes, or less than 1 Mb. Maybe I'm just reading this all wrong. I'm just trying to determine how much memory the files in flash are using because if they truly total less than 1 Mb, and I have 15 MB total with only 4 Mb free, then what is using the roughly 10 Mb of flash? Are there other commands I can use to determine this:

Here is my output:

CORE#sho flash

Directory of flash:/

430 drwx 192 Feb 28 1993 20:47:18 -05:00 c3750-ipservices-mz.122-37.SE1
424 -rwx 104 Feb 28 1993 19:10:16 -05:00 info
425 -rwx 544286 Feb 28 1993 19:10:34 -05:00 c3750-dmon-mz-122-25r.SEC
426 -rwx 1036 Feb 28 1993 19:30:07 -05:00 vlan.dat
428 -rwx 6012 Dec 15 1993 00:02:00 -05:00 config.text
429 -rwx 5 Dec 15 1993 00:02:00 -05:00 private-config.text

15998976 bytes total (4709888 bytes free)


--------------------------------------------------------------------------------------------------


CORE#sho vers
Cisco IOS Software, C3750 Software (C3750-IPSERVICES-M), Version 12.2(37)SE1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 05-Jul-07 18:32 by antonino
Image text-base: 0x00003000, data-base: 0x01300000

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)
CORE uptime is 43 weeks, 6 days, 1 hour, 36 minutes
System returned to ROM by power-on
System image file is "flash:/c3750-ipservices-mz.122-37.SE1/c3750-ipservices-mz.122-37.SE1.bin"

cisco WS-C3750G-24TS (PowerPC405) processor (revision F0) with 118784K/12280K bytes of memory.
Processor board ID CAT0832X00C
Last reset from power-on
5 Virtual Ethernet interfaces
56 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:11:BB:33:71:00
Motherboard assembly number : 73-7058-15
Power supply part number : 341-0045-02
Motherboard serial number : CAT08310A2E
Power supply serial number : LIT15110PWG
Model revision number : F0
Motherboard revision number : A0
Model number : WS-C3750G-24TS-S
System serial number : CAT0832X00C
Top Assembly Part Number : 800-21894-08
Top Assembly Revision Number : B0
Version ID : V08
CLEI Code Number : COMUH10ARA
Hardware Board Revision Number : 0x09


Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 28 WS-C3750G-24TS 12.2(37)SE1 C3750-IPSERVICES-M
* 2 28 WS-C3750G-24TS 12.2(37)SE1 C3750-IPSERVICES-M


Switch 01
---------
Switch Uptime : 43 weeks, 6 days, 1 hour, 36 minutes
Base ethernet MAC Address : 00:24:51:36:7F:80
Motherboard assembly number : 73-7058-15
Power supply part number : 341-0045-02
Motherboard serial number : FDO12510HLG
Power supply serial number : LIT12500C49
Model revision number : R0
Motherboard revision number : A0
Model number : WS-C3750G-24TS-S
System serial number : FDO1251Y2F1
Top assembly part number : 800-21894-08
Top assembly revision number : B0
Version ID : V08
CLEI Code Number : COMUH10ARA

Configuration register is 0xF

1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

It will be the contents of the archive directory:

430 drwx 192 Feb 28 1993 20:47:18 -05:00 c3750-ipservices-mz.122-37.SE1

...which will contain your running IOS image. Take a look:

dir flash:/c3750-ipservices-mz.122-37.SE1/

cheers,

Seb.

View solution in original post

2 Replies 2

Seb Rupik
VIP Alumni
VIP Alumni

It will be the contents of the archive directory:

430 drwx 192 Feb 28 1993 20:47:18 -05:00 c3750-ipservices-mz.122-37.SE1

...which will contain your running IOS image. Take a look:

dir flash:/c3750-ipservices-mz.122-37.SE1/

cheers,

Seb.

OK. That makes sense. When I looked at that directory it was using around 8.2 Mb. When I add that all up it comes close enough to 15 Mb to make me happy. Thanks!