looking for prstat m command equivalent in Linux
location: linuxquestions.com - date: December 16, 2014
Hi Folks,
I'm relatively new to Linux world and I'm learning shell scripting. I've a shell script working well in Solaris system that uses prstat command. After a lot of research, I found out that top is equivalent to prstat in Linux platform.
1. top -b -d 1 -n 1 | head -207 // in linux
2. prstat -n200 1 1
Are the above two commands equivalent?
Also, I'm looking for a command that is close to the command:
prstat -m -n200 1 1
I've been looking for a similar command in linux, and couldn't find any. Please help.
looking for prstat m command equivalent in Linux
location: linuxquestions.com - date: December 16, 2014
Hi Folks,
I'm relatively new to Linux world and I'm learning shell scripting. I've a shell script working well in Solaris system that uses prstat command. After a lot of research, I found out that top is equivalent to prstat in Linux platform.
1. top -b -d 1 -n 1 | head -207 // in linux
2. prstat -n200 1 1
Are the above two commands equivalent?
Also, I'm looking for a command that is close to the command:
prstat -m -n200 1 1
I've been looking for a similar command in linux, and couldn't find any. Please help.
how to know from where the command ran in linux
location: linuxexchange.com - date: January 3, 2015
Suppose i ran a command in unix like ls or rm and path variable is set as below
PATH=$JAVA_HOME/bin:.:$ORACLE_HOME/bin:/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:$COBDIR/bin:/sbin:/bin:/usr/local/bin:/bin
How can we know ls command ran from which path ? ls (just an example) may be there in /sbin as well /usr/bin
So i would like to know from where it ran ?
i cannot afford to search all directory and know in which all directory ls is lying. is there a direct way to search ls from where it ran?
Deleting columns from a file with awk or from command line on linux
location: linuxexchange.com - date: August 12, 2015
How can I delete some columns from a tab separated fields file with awk?
c1 c2 c3 ..... c60
For example, delete columns between 3 and 29 .
Debug command route in Linux
location: linuxexchange.com - date: May 18, 2015
I want to debug a command line in Linux.
$ route add -net 192.168.3.0 netmask 255.255.255.0 gw 192.168.3.10
With command line above, I want to know how Linux kernel handles it. I am doing project about Routing Table, and I will be demo with this. When run this command, kernel executes what, which function the kernel calls (ie: lookup(), fib_tale_insert()...), and how to show value of command when I debug.
I am trying with "strace" but I can't. Can you help me?
basic bash command not found linux [duplicate]
location: linuxexchange.com - date: October 6, 2015
This question is an exact duplicate of:
Mac terminal -bash command not found? [closed]
2 answers
Run Jar file in command prompt on Linux Server
location: linuxexchange.com - date: February 4, 2014
How can we run Jar File in command prompt?
I've used this command:
java -jar myJARFile.jar
But the result was:
-bash: java: command not found
Make command in Ubuntu linux
location: linuxexchange.com - date: January 1, 1970
I just recently started learning different Linux commands but I still don't understand how to use the 'make' command. Please is there anyone that understands how to use 'make'?
How can you hibernate/suspend using the command line in linux? [duplicate]
location: linuxexchange.com - date: January 1, 1970
Possible Duplicate:
Put 'nix box to sleep from command line?
I found that the solution was to do:
pmi action hibernate
But when I typed in that, it showed:
Error org.freedesktop.DBus.Error.ServiceUnknown:
The name org.freedesktop.Hal was not provided by any .service files
I couldn't go further from here. Please help me to fix the problem.
totally command line(CLI) linux os [closed]
location: linuxexchange.com - date: January 1, 1970
Is there any OS such satisfies the title?
I want to use Command Line Interface, not GUI, because I want it.
I want to be friendly with Command Line Interface.
please wait...
Page: 1 2 3 4 5 6 7 8 9 10