General :: Commands To Display Running Processor Number Id?

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


Server :: Identifying The Number Of Cores In Each Processor Running

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

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 View Related

General :: Know Which Display Number For The Variable DISPLAY To Be Exported When Ssh To Server?

Dec 26, 2010

When i ssh to server using -X, i always confuse about which display number i should export. It seems to me sometimes the display number has been used by something, so what i can do is only

export DISPLAY=localhost:0 && xclock
export DISPLAY=localhost:1 && xclock
export DISPLAY=localhost:2 && xclock


View 1 Replies View Related

General :: Unix Command That Allows To Know Which Process Is Running On Processor Core?

Mar 16, 2011

Unix command that allows to know which process is running on processor core?

View 2 Replies View Related

General :: Display All Commands Available?

Mar 17, 2010

Use the following information in your script. Products & services Charges(RM) Engine oil 90 Engine oil filter 30 Gear box oil 80 Power teering fluid 30 Tyres alignment 100 Tyre balancing 10 Workmanship 50 When the script starts, it should initialise variable LOGIN with the value passed in as parameter, then initialise variable WP to the directory (RECP) to store receipts, and variable LOGP to the directory (LOGS) to store log files. The script contains an infinite loop that accepts selfdefined commands as listed below:

1. genp
2. reprint
3. log
4. price
5. bkup
6. !help
7. quit
1. genp

Generates receipt and then displays it on screen. User should input quantity of all products. Initialise the quantity of each product at the beginning of script.....

View 2 Replies View Related

General :: Display Server Serial Number

Mar 18, 2011

How to display server serial number, type of os for that server and kernel version for that server. with seperate way.

View 8 Replies View Related

Ubuntu :: Processor Running At 100 Percent - Fan Is Running At Max Speed

Apr 5, 2011

I can't figure out why but my processor is running at 100% on all four cores, and the fan is running at max speed. All I did was double click an a.out file created by g++, and it is running at full speed now.


View 3 Replies View Related

General :: Trying To Display Count Of Number Of Subdirectories In Directory

Feb 7, 2011

I am a noob and I am trying to display a count of the number of subdirectories in a directory. I have been able to use find -type d to list directories and subdirs but I want a numerical value of dirs and subdirs. I know ls -l gives a count but when I try ls -l -d all it shows is "." I also have tried a combination with the -R option but nothing seems to be working for me.Please forgive my ignorance but I am working on a script for class and this is the first step.

View 3 Replies View Related

General :: Maximum Number Of Clients ReachedThunar: Cannot Open Display

Jul 4, 2011

I with one problem to open files on terminal. By example, I open the thunar on terminal, see the error:

gustavo@universe /media/montagem $ thunar
(process:7902): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Maximum number of clients reachedThunar: Cannot open display:
gustavo@universe /media/montagem $ ^C

View 1 Replies View Related

General :: Shell Commands To Display All Applications Installed

Aug 5, 2010

Ares there any shell commands to display all applications installed in my linux machine,?

View 7 Replies View Related

General :: Prevent RC Commands From Running?

Mar 17, 2011

I am running a shell script from a rc file in Linux. The shell script is going into a loop which runs for 8 hours. Now I want to prevent the shell script from running when Linux boots or I need to find a way to kill the shell script when it is running. I tried using killall, kill $! and Ctrl+C etc. Nothing seems to work. Can you suggest a way out. I am new to Linux.

View 2 Replies View Related

General :: Running SQL Commands From Within Bash

Aug 1, 2010

I would be running SQL commands (UPDATE/SELECT) from within my bash script. I am completely new to this subject. Is MYSQL used for this purpose? Alternatively, what is sqlplus?

View 6 Replies View Related

General :: Terminal Commands Running Behind The GUI?

Jan 10, 2010

Recently I gained interest in running command from the terminal, like rhythmbox-client --play-pause and vlc --open, but I could not find the vlc's pause command under vlc. there's a way I can have a terminal display the commands that run when I do some action. For example, when I click on pause in vlc, the terminal should show me what command it used to pause vlc. What's the closest ting I can get to this?

View 1 Replies View Related

General :: Command / C Function To See Cpu Number On Which Process Running?

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

General :: Running Ssh Commands With Sudoers Login?

Dec 10, 2010

I added the following line in /etc/sudoers file


after adding this if I run any command it is not asking for the password. Now I need to shutdown the remote machine with sudoers user.

View 6 Replies View Related

General :: Print The Number Of Processes That Each User Is Currently Running In Unix?

Mar 6, 2011

I'm trying to get the end result to have the same format as this as well:

1 bin
2 daemon
67 erozner


Where the numbers are the number of processes being run by the user (the name right next to it).if I input the command egrep myFile into the terminal, it should look for every line with the letter x in myFile, right?

View 5 Replies View Related

General :: Does Running Commands Verbosely Make Them Slower

Jul 20, 2011

I've found myself using the -v flag for lots of applications less and less (especially for trivial stuff like tar and cp). However, when I did and I was, say, unzipping a large file, it would take longer than when I didn't use the -v flag.I assume this is because the terminal has to process the text and I'm filling up whatever buffer it might have. But my question is, does this make the application actually run slower or does it complete in the same amount of time and what I'm seeing is the terminal trying to catch up?

View 5 Replies View Related

General :: Running Multiple Commands Remotely Via SSH In A Script?

Dec 18, 2009

In a script I am writing I am trying to add logic so that the script can figure out if a remote server uses rpm or dpkg and then run the appropriate command to print a list of installed packages. This works locally, but I need to get it to work through SSH and I have no idea how to do that. The relevant portion of the script is below. It would also be nice to find a way to not need the full path to the executables but I'm not real concerned about that.So anyone know how to make this code work via SSH?

if [ -x /usr/bin/dpkg ]; then
dpkg --get-selections


View 4 Replies View Related

General :: Changing User And Running Commands Inside Of A Script?

Feb 22, 2011

My current script is as followed:


su et
cd "media/ET"


I want ET to be run as the user "et" and for some reason, I can't directly su/sudo to run the file without being in the user "et" and the "/media/ET" directory.

View 2 Replies View Related

Software :: Bash Script To Run Commands For Specified Number Of Seconds?

Dec 2, 2009

I want to make a very simple bash script to run a command for a user-specified number of seconds and then kill it. The purpose is to limit the amount of time the program runs.Example in pusedocode:

#$1 is the user input number of seconds


View 14 Replies View Related

Ubuntu :: Find And Move Commands On Large Number Of Files ?

Feb 21, 2011

We recovered a large number of files from a HD I messed up. I am attempting to move large numbers of files of a type e.g. .txt .jpg , into a folder by type to more easily sort through them.

Here are the commands I have mainly been trying with various edits:



So far the most common complaint I have gotten "missing arguments to execdir".

This is on Ubuntu 10.04

View 6 Replies View Related

Programming :: Running External Program On Same Processor?

Mar 2, 2010

The situation is that I have an MPI-parallel fortran program. I run it and it's distributed on N processors, and each of these processes must call an external program.

This external program is also an MPI program, however I want to run it in serial, on the processor that is calling it, as if it were part of the fortran program. The fortran program waits until the external program has completed, and then continues.

The problem is that this external program seems to run on any processor, and not necessarily the (now idle) processor that called it.

how I can call the program and ensure it runs only on this processor?

Extra information that might be helpful:

If I simply run the external program from the command line (ie, type "/path/myprogram.ex <enter>"), it runs fine. If I run it within the fortran program by calling it via

CALL SYSTEM("/path/myprogram.ex")

it doesn't run at all (doesn't even start) and everything crashes. I don't know why this is.

If I call it using mpiexec:

CALL SYSTEM("mpiexec -n 1 /path/myprogram.ex")

then it does work, but I get the problem that it can go on any node.

View 2 Replies View Related

Ubuntu :: Not Starting - Monitor Goes Blank Although My Processor Is Running

Jul 18, 2010

Recently the power went when i was using ubuntu and my system shut down since the ups took too long to supply power. So i started my system and choose to boot linux, but it said display drivers not detected, linux running in low graphic mode, and it said 1. run windows in low graphic mode for now...2. reset to previous graphic mode- i chose this and it restarted, since then the ubuntu loading page appears and then my monitor goes blank although my processor is running.....why is this happening?.....i have a ati 5770 graphic card through which it should display.

View 3 Replies View Related

Ubuntu :: Running Slow And Pegging Processor When Using Mozilla And Kdenlive

Mar 30, 2010

Running Slow and Pegging Processor When Using Mozilla and Kdenlive

View 1 Replies View Related

General :: Running A GUI Program On The Display Of A Remote PC Via Ssh?

Jan 20, 2011

I am connecting to remote Linux PCs via ssh, to update software and do other tasks. I want to send a notification to the remote PCs screen (eg, "Do not run program X, it is being updated now"), so the users do know what is happening.

Is there a reverse way for ssh -X host so I can connect to a remote Linux machine and run notify-send and it appears on the other display?

View 2 Replies View Related

General :: Display GUI Apps Running On One Box On Another Machine?

Sep 8, 2011

I'd like to display GUI apps running on one Linux box on another machine.

I already do this with local machines, but how to do this over the internet?

Update: I'm already using ssh to access the machine over the internet.

View 3 Replies View Related

General :: How To Use Grep To Display All Users Running Particular Command?

Mar 19, 2010

Can someone please tell me how I can use grep to display all users running a particular command.

View 3 Replies View Related

General :: Display X Apps Running On Host1 And Displaying On Host2 ?

Feb 20, 2010

I have three boxes with lenny debian recently installed. I'd like to be able to display X apps running on host1 and displaying on host2. "xhost +" would do the trick for me if I could get it to work but as far as I can tell it does nothing. (BTW, I'm aware of the security risks. This is not a concern for me. I'm safely behind a good firewall. I'm also aware of "ssh -X" but that won't quite solve my problem. See the long version below.) I suspect that Debian secures the xhost command out of the box in some way but I can't seem to figure out what it is. If that is true and someone can show me how to reset it, or direct me to appropriate documentation I think that would solve my problem.

Here's the long version:

What I really want to do is play xbattle with my kids but I need to be able to display the board to three different screens. In xbattle the command line is: % xbattle -red me -blue host1:0 -green host2:0 {and more stuff of no consequence to my question}

This opens a game board for player red locally, player blue on host1 and player green on host2. Or at least it should. If there is a way to make this work with "ssh -X" (or anything else for that matter) I'll be happy to use that instead, but so far as I can tell "ssh -X" only lets me redirect the display back to the one I ssh'd from whereas I need to direct to multiple displays to run xbattle.

View 2 Replies View Related

Fedora :: Finding A Free X Display Number?

Mar 9, 2010

how to find a free X display number?

I am using Xephyr to create a windowed session for logging in as another user. It needs its own X display, though. Obviously I can just give it :1.0 and hope for the best, that it would be better to identify the first free display and use that.

But I don't know how...

View 2 Replies View Related

Copyrights 2005-15, All rights reserved