General :: Command To Know Processor Number In Which A Process Is Loaded?
Sep 21, 2010
Is there any command in linux to figure out , given a process, which processor the process is running? I am interested in figuring out the CPU busy and CPU idle time of that processor.
View 2 Replies
ADVERTISEMENT
Mar 16, 2011
Unix command that allows to know which process is running on processor core?
View 2 Replies
View Related
Feb 22, 2011
When I fork multiple processes, is there some command or c function to see the cpu number on which the processes are running?
View 3 Replies
View Related
Jan 24, 2011
I have 8 cores system, but I only want to use 4 cores of it. Are there any commands to show which cores are running tasks?
View 1 Replies
View Related
Aug 18, 2011
How do I know which shared libraries are loaded by an already running process?
View 2 Replies
View Related
Oct 24, 2009
Optimum number of processes for procesor In Linux based os are there a optimum number of process for a processor that gives 'maximum performance' for system(or process range depend on cpu speed,cache etc...)? By 'maximum performance' I mean better performance?
View 5 Replies
View Related
Dec 20, 2010
identifying the number of cores each processor is running.
I have checked /proc/cpuinfo but i dont find any core details inside it and I can find only no of processor and its speed.
View 7 Replies
View Related
May 27, 2010
I have 10.04 installed on my Laptop (Dell Latitude D630 with the Nvidia video upgrade). This was a clean install to a hard drive that I let it totally erase and use as it saw fit. I am using the Nvidia driver marked as "current" in the hardware driver settings.
When my laptop screen dims due to inactivity, such as not used for 5 mins or so, it will prompt me for a password to log back in. No big deal. However, when it resumes from this state it is SLOW!! I go to system monitor and see that the process "Compiz" is burning up both of my cores at about 70% or HIGHER. It's not using a significant amount of memory which is strange.From what I have been able to gather Compiz has some responsibilty for the GUI and killing the process to attempt to restart it is a "bad idea".
View 7 Replies
View Related
Apr 3, 2011
I have just created a usb boot disk so that I can install Fedora 14.I used the following which was successfully. However, I am left wondering what does the bs parameter actually does. I know it mean bytes and copies these at a time. But how do I know what to set it to?dd if=F14-Live-i686.iso of=/dev/sdb bs=8MIn the above example it is set to 8MB. However could I set this to any value that I want?
View 1 Replies
View Related
Nov 7, 2010
What is a Linux command that I can run to programmatically return either 32 or 64 to indicate whether the processor is a 32 bit or 64 bit processor?
View 4 Replies
View Related
Feb 15, 2010
How can I know how many shells my system support (Is there any specific command)?
View 9 Replies
View Related
Jul 20, 2010
I have a big file full of records like this
1, 2, 4, 5, 6
1, 3, 5, 6, 3
1, 4, 5, 6, 6
2, 4, 5, 5, 5
2, 3, 4, 5, 2
anyway i need to take the average of all rows with the same 1st number(key). i.e.
1, 3, 4.66, 5.66, 5
2, 3.5, 4.5, 5, 3.5
I know this is something awk/sed would be great for, i just dont have enough experience with them to accomplish it, Also, what about averaging those columns together? so, after I output this to a file, id like to get another like:
1, 4.58
1, 4.125
The number of colums to add might not always be 4 either. EDIT: this might be easier to do in gnuplot, so I mainly just need an answer to the first part.
View 3 Replies
View Related
May 10, 2011
I'm constantly going 'cd ../../../../'. Is there a command/alias that could let me go 'cmd 4' and I'd be taken back 4 directories?
View 8 Replies
View Related
Oct 15, 2010
What command will provide you with the number of files in your current directory?
Choose one answer.
A. ls -c
B. ls | wc -w (this one)
C. ls -n | count
D. ls -wc (this one ?)
View 5 Replies
View Related
Apr 9, 2010
I need to organise an external HDD such that there is no more than 500 folders on it.
Ubuntu's "Properties" pane shows only the file count, not the folder count.
Is there a simple CLI line that will tell me the number of subdirectories?
View 3 Replies
View Related
Nov 11, 2010
I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process
View 2 Replies
View Related
Jul 12, 2010
I read this thread but
Code:
anisha@linux-uitj:~> su
Password:
[code]...
View 14 Replies
View Related
Sep 2, 2010
How to set that if user use command to display all process, then he'll see only his own processes?
View 2 Replies
View Related
Dec 23, 2009
I need to find how many threads are alive with respect to the current process for my further processing. Is there any means to trace this number ?[URL]I referred the above link. But sys/pstat.h is not in my system. Don't know which library gives this header.
View 14 Replies
View Related
Apr 7, 2011
I am trying run audio conversion on my server that I want limited to a certain number of processes based on process name. I am using the following script but it isnt limiting the number of job like I want it to.
Code:
#!/bin/bash
$num_jobs = 13
while [ $(ps -A | grep -v grep | grep -c pacpl) -ge $num_jobs ]
do
sleep 1
[Code]...
View 3 Replies
View Related
Jun 8, 2010
Resolved before asked: cat /proc/1111/status | grep PPid
View 2 Replies
View Related
Jul 10, 2011
I have tried top and PS command but i am not able to find the RAM used by each process.top command says that 240MB RAM used but the Memory shows 0% for all the processes, same with ps. i want to know which process consumes all 240MB RAM.Is there any command which / script which can sort the running process in oder of increasing RAM usage so that i can see. Also i find it very hard to read bytes and KB. Is there any to way to chnage those units to MB
View 2 Replies
View Related
Apr 7, 2010
I got indication of zombie process via top command
Code:
Tasks: 321 total, 1 running, 319 sleeping, 0 stopped, 1 zombie
I don't have 'Z' indication on 'Status' column
How could it possible to identify this process ?
View 5 Replies
View Related
Jun 26, 2011
I'm trying to use the 'at' command to run a file that checks ALL process running at 5:00pm and does a system load check? Any advice on where to start?
View 7 Replies
View Related
May 20, 2011
I have created three child process from one parent. And different child has different functions. Child 2 has got function to load file called "wc" to count file1 and and its required to get their files by command line arguments. I can get the files through command line but couldn't get the files when child 2 process start.
View 9 Replies
View Related
Sep 15, 2010
I use the system command route from a process (using the system() call). For security reasons the process does not have root privilege and for some reason I cannot use ioctl() either. I tried to set the capabilities of the process to NET_ADMIN and SYS_ADMIN but the route command still failed due to insufficient permissions.
What are the capabilities that I need to set for route to be successful?
View 1 Replies
View Related
Feb 23, 2010
I used 9.04 for months and it work fine before restarting my PC. After I restarted my PC, the memory consumption takes up to 4.2 GB after login. However, I cannot find any process that consume such large number of memory.
[code]....
View 3 Replies
View Related
Mar 14, 2010
is there any command in linux to know the processor temperature and its status?with root permissions i tried with using the proc commd.... it gave io error saying permissiondenied....thru these system details are obtaind/proc/filesystems/proc/cpuinfosince im not familiar with its usage,so how this proc cmmd should be used to extract the required info abt the system & display them?
View 4 Replies
View Related
Dec 28, 2010
how does calculate all processor utilization in ubuntu using top command?
View 1 Replies
View Related
Apr 21, 2011
I have a script that calls other scripts/commands which may or may not spawn other process. From my understanding, when I do a ps -ef, the highest numbered process ID is supposed to be the parent ID of all the other related child processes, is this correct? In most or all circumstances, I do a ps -ef | grep <processid> of my script and anything that spawns off that process IDs I assumed are the child processes of my script. If I want to terminate my script and all other child processes, then I kill the parent ID which is the highest numbered PID and this will subsequently kill all other child process IDs, is this correct?
Now, my question is whether there is any quick way of showing what are the child processes of a parent ID instead of what am currently doing now which is visually checking which one is the parent ID and "assuming" that the highest numbered PID is the parent ID of all the other processes. Below is a sample output of running ps -ef | grep exp | grep -v grep. I assume from the output below that the parent process/ID is PID 11322, is that correct?
Code:
oracle 11154 11153 0 21:20 ? 00:00:00 /bin/sh -c (. ~oracle/.profile; /bin/ksh /usr/local/oracle/scripts/expdp_o
oracle 11155 11154 0 21:20 ? 00:00:00 /bin/sh -c (. ~oracle/.profile; /bin/ksh /usr/local/oracle/scripts/expdp_o
oracle 11190 11155 0 21:20 ? 00:00:00 /bin/ksh /usr/local/oracle/scripts/expdp_schema.ksh dev01
oracle 11322 11190 0 21:20 ? 00:00:00 expdp
View 2 Replies
View Related