I justtried
./a.out ram
cat /proc/pid/cmdline
./a.outram
there is no delimiter between executable and arguments. Its better showing in ps -ef|grep a.out
./a.out ram shyam
Type: Posts; User: vksingh; Keyword(s):
I justtried
./a.out ram
cat /proc/pid/cmdline
./a.outram
there is no delimiter between executable and arguments. Its better showing in ps -ef|grep a.out
./a.out ram shyam
Also, I will be interested to know how to get parameters passed to the executable.
For example, if i run the following:
./a.out hello
From /proc/<process ID>/stat , i get only (a.out) but not...
ps -ef|grep skype
note the process ID,
the go to /proc/<process ID>
cat stat
6166 (a.out).......
In above, 6166 is process ID and a.out is name of my dummy application.
It looks like a port conflict
Hi Sanderj,
I checked /proc/pid/stat
I see following processor related parameters:
utime %lu Amount of time that this process has been scheduled in user mode, measured in clock ticks...
Hi Sanderj,
Thanks for your response :-)
With top command, i get aggregate %CPU for a process, but I am looking for all the statistics values for the CPU like the following:
%usr %nice ...
Hi All,
I use mpstat to get CPU statistics in my Ubuntu 12.10 desktop.
Linux 3.6.7 (viveks) 02/01/2013 _x86_64_ (8 CPU)
13:10:08 CPU %usr %nice %sys %iowait %irq ...
what is ICT???
Hi All,
What are better Ubuntu forums other than ubuntuforums.org.
Also the mailing list which are really active.
Thanks,
Vivek):P
Hi All,
I am using ubuntu 12.10 on my desktop DELL OPTIPLEX 990. When I boot Ubuntu, I get pnp: cannot evaluate _CRS message is printed on console and booting waits at that stage for some...
Hi All,
I use ubuntu 12.10 on my Lenovo ideapad. I got a issue with my key 't' . when I press this key, it takes as function key F3.
I also checked my function key F3 and it works as expected....
can you provide details of 'ifconfig' command. Is your wired interface up?
use powertop to check what is consuming more power in your machine
Hi All,
I am using Ubuntu 12.10. when i use the following to get the information of power consumption on my laptop
cat /sys/class/power_supply/BAT0/uevent
POWER_SUPPLY_POWER_NOW=0
But...
I checked the /etc/passwd. Its the guest user which is showing
Hi All,
I am using Ubuntu 12.10. when i check all my processes using ps -ef command
119 4314 1 0 Dec21 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity-music-daemon
119 4318 ...
Hi All,
I have created a file 'test.txt' and put '123' in that and saved it. I then used 'od' command on that file.
$ od test.txt
0000000 031061 005063
0000004
vivek@viveks:~/test$
I am...
Hi All,
I am using Ubuntu 12.10. I want to enable i915.i915_enable_rc6=1. I want to know do i need to enable it in /etc/default/grub or it is already enabled in Ubuntu 12.10.
If it is already...
Hi,
I too facing issue with compiling empathy-3.3.2 on Ubuntu 12.10. Please let me which version of empathy builds properly on Ubuntu 12.10.
Regards,
Vivek
I changed the sg.archive.....* to us.archive.....* and its working fine. Thanks :-)
W: Failed to fetch http://sg.archive.ubuntu.com/ubuntu/dists/quantal-updates/Release.gpg Connection failed
W: Failed to fetch...
yes, swap is also mounted in the same partition
I tried with Ubuntu live CD. I started GParted. I was able to get/see the details of the partitions on GParted GUI but when i select my partition (/dev/sda5) to resize in move/resize window, i the...
Hi All,
I am using GParted live USB (bootable) to partition my "/" partition (want to reduce the size). I have made a bootable USB from GParted live iso.
When I boot this, the GParted gets hung...
Nov 15 12:37:58 viveks kernel: [96778.079741] [drm] nouveau 0000:01:00.0: PGRAPH - TRAP
Nov 15 12:37:58 viveks kernel: [96778.079746] [drm] nouveau 0000:01:00.0: PGRAPH - ch 4 (0x0001850000) subc 3...