Idle curiousity about memory usage


 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions Idle curiousity about memory usage
# 1  
Old 05-24-2010
Idle curiousity about memory usage

1. The problem statement, all variables and given/known data:

So... I'm going to try to fit this into the template but it'll be a little weird, since this is more of a random question on my part than a homework question, but I thought I had better include it here since it's directly relevant to my homework.

I was just wondering what you can tell from the memory usage. We had a final project to do that involved running a program on the school server. I ran top and noticed that my group's memory usage was around 6.3% and the other group's was only 0.7%. I'm assuming this means we wrote a clunkier program, but since I'm coming from a linguistics background and not Comp Sci I don't really trust my instincts on this.

2. Relevant commands, code, scripts, algorithms:

I used top.... I guess I don't really have any other relevant info for this section.

3. The attempts at a solution (include all code and scripts):

I googled memory usage, haha. So far, I've found out a lot of really interesting information, but nothing that tells me if this means I wrote an inefficient program.

4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):

San Jose State University, San Jose, CA, USA.
Prof - Hahn Koo
course - ling 165 LING165
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Memory usage per user,percent usage,sytem time in ksh

Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies

2. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

3. AIX

idle virutal CPUs show sys% usage

Recently all our systems show sys% usage, even on folded CPUs (displayed with nmon -c). For instance a system with 6 virutal CPUs, 10 of the cores show only sys usage each over 30%. This system shows 5 of the CPUs as folded. Is this normal? It remember the folded CPUs used to show no usage... (3 Replies)
Discussion started by: robm
3 Replies

4. UNIX for Dummies Questions & Answers

Command to display the space usage (memory usage) of a specific directory.

Hi all, Can you please tell me the command, with which one can know the amount of space a specific directory has used. df -k . ---> Displays, the amount of space allocated, and used for a directory. du -k <dir name> - gives me the memory used of all the files inside <dir> But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies

5. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

6. Solaris

current CPU usage, memory usage, disk I/O oid(snmp)

Hi, I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP. I want the oids for above tasks. can you please tell me that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

7. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

8. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

9. HP-UX

How can I get memory usage or anything that show memory used from sar file?

Refer from title: How can i get memory used or anything that can show memory from sar file example on solaris:- we can use sar with option to show memory used at time that sar crontab run. on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies

10. Programming

Monitor CPU usage and Memory Usage

how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries through a c program or java program i want to store that data into database so i can show it graphically thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
Login or Register to Ask a Question
WINCACHE_FCACHE_MEMINFO(3)						 1						WINCACHE_FCACHE_MEMINFO(3)

wincache_fcache_meminfo - Retrieves information about file cache memory usage

SYNOPSIS
array wincache_fcache_meminfo (void ) DESCRIPTION
Retrieves information about memory usage by file cache. RETURN VALUES
Array of meta data about file cache memory usage or FALSE on failure The array returned by this function contains the following elements: o memory_total - amount of memory in bytes allocated for the file cache o memory_free - amount of free memory in bytes available for the file cache o num_used_blks - number of memory blocks used by the file cache o num_free_blks - number of free memory blocks available for the file cache o memory_overhead - amount of memory in bytes used for the file cache internal structures EXAMPLES
Example #1 A wincache_fcache_meminfo(3) example <pre> <?php print_r(wincache_fcache_meminfo()); ?> </pre> The above example will output: Array ( [memory_total] => 134217728 [memory_free] => 131339120 [num_used_blks] => 361 [num_free_blks] => 3 [memory_overhead] => 5856 ) SEE ALSO
wincache_fcache_fileinfo(3), wincache_ocache_fileinfo(3), wincache_ocache_meminfo(3), wincache_rplist_fileinfo(3), wincache_rplist_mem- info(3), wincache_refresh_if_changed(3), wincache_ucache_meminfo(3), wincache_ucache_info(3), wincache_scache_info(3), wincache_scache_mem- info(3). PHP Documentation Group WINCACHE_FCACHE_MEMINFO(3)