10 More Discussions You Might Find Interesting
1. Programming
Hello,
Here is a portion of my code:
a=(int *) malloc(dim*dim*sizeof(int));
b=(int *) malloc(dim*dim*sizeof(int));
c=(int *) malloc(dim*dim*sizeof(int));
for(i=0;i<dim;i++)
for(j=0;j<dim;j++)
c= rand();
for(i=0;i<dim;i++)
for(j=0;j<dim;j++)
b=rand();
... (6 Replies)
Discussion started by: chercheur111
6 Replies
2. UNIX for Dummies Questions & Answers
i want to avoid writing to a file on the disk. i'd like to do this in memory.
i have a situation where i'm running cat file.txt | head -l 2024 > /tmp/data.txt
now, i check the size of the data.txt by doing a "du -sh /tmp/data.txt
how can i get the size of "head -l 2024" WITHOUT having to... (2 Replies)
Discussion started by: SkySmart
2 Replies
3. Solaris
Is there a command or file I can look at that tells me how much real memory a machine has? A little background. In my shop we run a bunch of java programs, sometimes some of these jobs have config definitions that call for 2G. I would like to know how many I can run before I exhaust rescources. Any... (12 Replies)
Discussion started by: Harleyrci
12 Replies
4. UNIX for Dummies Questions & Answers
few questions
a. where can I find the RAM of a server? im about to install redhat on a server (reformat). need to know because it will be my basis for swap size. i saw something line 3048MB detected upon boot. is this the memory?
b. what is the command in lunux to check the original size of... (2 Replies)
Discussion started by: lhareigh890
2 Replies
5. UNIX for Advanced & Expert Users
I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies
6. IP Networking
Hi,
Does anybody know how to get the RAM size of a powerless server (OS off), with a network hardware management protocol like IPMI ???
Thx (0 Replies)
Discussion started by: sncr24
0 Replies
7. Solaris
hey everybody,
i am currently working on solaris 10 os on a m5000 server. my problem is when i want the exact size of a program in execution, i am unable to do it. earlier i thought the RSS field of prstat but because of its large size it cant be the size. pmap -x shows some output but it includes... (2 Replies)
Discussion started by: aryansheikh
2 Replies
8. Solaris
I would like to know if it is possible to find out how much memory is in a machine from the iLOM prompt on an x86 box? I have retrieved the MAC address details from the iLOM promt before using show /SYS/MB/NETx and wondering if I can do the same for the Memory although I can't seem to find anything... (4 Replies)
Discussion started by: Chains
4 Replies
9. Solaris
Hi,
I am looking for acoomand on HP where by i can see the CPU increasing for a given process ... I know i can see this from top/prstat ..
But it will give for all the processes - I want something like say ps where i can call it from a shell script a few times and check if it is has increased... (0 Replies)
Discussion started by: nano2
0 Replies
10. Shell Programming and Scripting
Hi falks,
I'm trying to get the momory size in HP-UX as user oracle.
The command to do it is:
/usr/sbin/dmesg | grep "Physical" | awk '{print $2}'
The problem is that only user root can run this command and i need to run it as user oracle.
Do you know another way to get the memory size in HP... (2 Replies)
Discussion started by: nir_s
2 Replies