General :: 'ps' Don't Show Bash Script Name
Apr 17, 2011
Say my shell script takes like 5 hrs, with 5 statement one statement taking 1 hr each after 30 mins, my session disconnect, what will happen?
1) my 1st statement completes then no other statement get executed?
2) my all statements executes and then finish?
3) my 1st statement will also not be completed
I can see my 1st statement through processes, problem with 'ps' it don't show bash script name, even if it is in memorry Also, what i need to put in my script so next time even after even disconnect my scripts remaining executing (other then nohup)
View 3 Replies
ADVERTISEMENT
Jul 12, 2010
I have this script in the past for csh: Code: ./a.out |& tee prints.txt which will redirect all printfs in the C program to the prints.txt file and at the same time show them in the console. How do you do this in bash? I have seen this, [URL] but it does not work for my bash and sh shells. It says:
Code: -bash: syntax error near unexpected token `&' and
Code: -sh: syntax error: unexpected "&"
View 2 Replies
View Related
Oct 15, 2010
I would like to modify Bash Prompt so it does not show the whole $PATH but just the current and parent directory. I am using Ubuntu.
View 3 Replies
View Related
Apr 28, 2011
I configured it to use IMAP to access our exchange 2010 server front end on a LAN connection. Our webmail connection is segregated behind Forefront, so it was not connecting/authing that way. Even though smartphones have no problem. (sidenote, is there an activesync linux mail client ?)
I have many root folders and several folders underneath my inbox. total mailsize in inbox is 3.5 GB without subfolders. The sent is likewise as large. And is likewise empty.
Things I checked already:
View is all
Folder subscription is on and local copy is on
More info:
Thunderbird worky fine.
But thunderbird is missing calender
Tried adding lightening, but it won't add into thunderbird.
Will try finding a diff add on, or if anyone knows how to get lightening into thunderbird 3.1.8 on ubuntu 10 that would be great as well.
View 1 Replies
View Related
Nov 29, 2010
I create a bash script that writes another bash file. But in the generated bash file I want to write a bash command in the file and not executing it.Here's my bash file:
Code:
#!/bin/bash
cat > ~/generateGridmix2data.sh << END
[code]...
View 6 Replies
View Related
Jul 17, 2010
below are the details of my system. I have bash as my current shell, some really common commands aren't working.
Do I need to do a re-installation of bash? Or how do I install a selection of bash commands which I need? (for example a subset of [URL])
Code:
root@sdptfw:~ # uname -a
Linux sdptfw.sdpt.co.za 2.4.36 #1 Tue Jul 22 13:13:24 GMT 2008 i686 i686 i386 GNU/Linux
root@sdptfw:~ # echo $SHELL$
/bin/bash$
[Code]....
View 13 Replies
View Related
Dec 3, 2010
What happens when the script executes is that the ssh connection works and parks me at the remote hosts's shell login. Therefore, the "firefox" command refuses to execute. I need to know how to make the "ssh" connection occur, stay open, and go into the background so that the rest of the script can execute.If I could also do this with the "firefox" line so that the entire term window could be closed would also be helpful.
View 3 Replies
View Related
Oct 14, 2010
Anyway since I upgraded to Ubuntu 10.10 when I right-click on something and there is another menu in that menu, it doesn't show up for the first time!
for example if I want to create a an "Empty File", I'll right-click on desktop and when I want to go to "Create Document" menu, it doesn't show up! so I must click somewhere else and try again so for the second time it works!!
View 9 Replies
View Related
Jun 4, 2011
I'm using a 64-bit release. But, my PC doesn't seem to show the full 4GB of RAM that is installed. It shows about 3.4 to 3.6GB of RAM (please see attached picture).I thought that if I could install a 64-bit OS that would mean that I have a 64-bit capable processor. I thought using a 64-bit release would show all 4GB or RAM on my PC. What am I doing wrong? My CPU is a Pentium 4 Prescott DT 630.
More information on my system is below:
Code:
$ lsb_release -rd
Description:Debian GNU/Linux 6.0.1 (squeeze)
Release:6.0.1
[code]....
View 6 Replies
View Related
Aug 24, 2010
kudzu does not detect new hardware...even if i try to invoke kudzu manually..What cud be the reasons??
View 1 Replies
View Related
Apr 24, 2011
I am trying to show only the processes that use more than 10% of the cpu. I have managed to get it to show the processes in use using:
ps -eo pcpu,cpu,nice,state,cputime,args.
Then I am unsure how to sort this information so it only shows over 10%?
View 3 Replies
View Related
Dec 8, 2009
On one of my servers I see this when I log in. What does this mean and how can I get it to go away? Everything seems to work fine, but none of my other machines give this error.
View 5 Replies
View Related
May 17, 2010
I forgot a lot of my command line. I am doing cat file | grep "error" and i would like it to show everything to the right of G:/ including G:/ if possible. I figure its an awk command but i dont know what. I tried awk '{print $8+}' but + does not work like i hoped and guessed.
View 2 Replies
View Related
Jul 2, 2010
i have an image background for my web....it's a JPG file.. my problem is that image not show at designer PC but after that web page open at another PC..the image can show..i created my program at terminal...
i try using chmod 777 image.jpg but at designer PC still can't show...but in other PC can show..why it happens??what must i do?
View 1 Replies
View Related
Nov 10, 2010
Is it possible, using ps, to determine where a process is running from? I have two applications, both are identical and running in parallel directories, such as /app1/start.sh and /app2/start.sh. If I run ps -ef then I'm unable to tell the difference between the two
Using ps (or alternative), how can I tell that PID 123 belongs to app1?
View 3 Replies
View Related
May 22, 2011
I (for curiosity's sake) am running du -a inside /usr/lib/git-core and it does not show results for all the files in that directory. Why does it leave out an arbitrary set of files?this is what cd /usr/lib/git-core; du -a returns:
4 ./git-merge-resolve
972 ./git-config
12 ./git-show-index
[code]....
View 1 Replies
View Related
Oct 6, 2010
I have a question on using diff. I have two files that contain directory/file listings: d11.lis and d11.lis from a previous day. I am not interested in files that changed, or were added, I just want to see a list of files that are missing on day two.
View 5 Replies
View Related
Jan 27, 2010
after clicking in a mail link in Firefox, main ThunderBird window appears in the screen.Is there any way to show a "New email" window instead?
View 2 Replies
View Related
Oct 11, 2009
So a few weeks ago a Linux server was having high CPU usage, but we weren't able to determine what program was causing it. The top and ps commands (and others) didn't show any programs using a huge amount of CPU resources, but %idle was at 0 and our monitoring software showed 100% usage. Yet no process was found by ps and top to explain it. The usage was caused by a DBA doing some work, but we never found out why we could not see the application causing the usage.
Now here I am several weeks later and I have the same problem, but this time it is on my Palm Pre. I upgraded to 1.2.1, and now it runs very slowly.
A quick top in an SSH session shows:
Code:
Now, assuming I'm not just being stupid (which is always a possibility) the first two values on the CPU line show a total of 100% usage, yet no process shows that. The ps command shows a similar result.
So, what is causing the high CPU usage? Why doesn't top and ps show it?
View 8 Replies
View Related
Sep 7, 2010
I have downloaded the ISO onto a DVD-RW and when i pop it into my Acer laptop it works and shows that there are 34 files but when i put it into my gateway laptop it doesn't read it and nothing is showing up on the CD?
View 2 Replies
View Related
Feb 4, 2011
My computer is Eeepc 1201N. last time after I update my fedora13,It's network Manager can't show up Wireless even searching it. I want to log in my home wireless---IP:192.168.1.1
then I use ifconfig:
[sivanyeh@sivan ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr E0:CB:4E:1C:2B:EA
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
[Code]....
View 2 Replies
View Related
Feb 2, 2010
I was reading about Linux and found out that you can apparently custom build your own operating system.
The thing is, it all sounds great for what I would like to do but my knowledge in that area is zero, or sub-zero.
My question is: is there an operating system out there, that will start up the computer, then have a browser installed on it - lets say Firefox - with a homepage www.example.com?... (no start button or taskbar)
Maybe no toolbars or anything else except the webpage itself.
Also the hardware should be plug and play, such as printers, mobiles scanners or any usb driven devices.
View 5 Replies
View Related
Jul 20, 2010
I'm in normal mode then I press "ayiw to yank a word into register a, gvim shows the "ayi as I type it near the bottom right corner. Is it possible to get this real-time display in console vim, if so how?
View 1 Replies
View Related
Mar 30, 2011
Let's say I have a command
ls -Bgclt /somwhere/in/the/past
How do I limit the output to show me only first 2 files? (except for having only 2 files in that directory)
View 2 Replies
View Related
Apr 16, 2011
I've installed GNOME 3 on my Gentoo Linux, it really awesome and I love it.But here is a little glitch that I don't get used to: The notification area is hide until I hit "Windows" key or move the mouse cursor to the right-bottom corner.Since I've some program use the notification to indicate their status (for example, my Chinese input method use this to indicate whether I'm in English mode or Chinese mode. And a program that show the CPU temperature on the notification area).It becomes a little inconvenient if I've to move the cursor or hit "Windows" key just in order to check those status.
So is it possible to make the notification area always show on the screen? Or is it possible to integrate the notification area to menu bar just like GNOME 2.X or XFCE4?Besides that, I would like to know is it possible to remove the accessibility on the menu bar top-right corner?
View 1 Replies
View Related
Jun 30, 2011
I've done something stupid to my Linux Skype configuration. Only my online contacts are shownit's as if my offline contacts don't exist. This is a problem when I'm trying to figure out if someone is a contact already or not. The screen shot below shows the story. How can I make my offline contacts appear on this screen?
N.B. Answers for the Windows interface are not helpful the Linux interface is completely different.
View 1 Replies
View Related
Jul 14, 2011
I have used cp -rl to copy a folder. When measuring the size of the source and of the result of the copy du -sl returns slightly different sizes, even though diff confirms that their content are identical.Both folders reside on the same hard drive, no modifications to any of them have been done between the copy and the measure. I found nothing in the documentation of du and cp which could explain the difference.
View 1 Replies
View Related
Apr 9, 2009
I would like to know how to show all the current mount points in the file system. I tried mount but it didn't show the nfs mount point.
View 5 Replies
View Related
Mar 25, 2010
Which command will tell me whether a directory is a symbolic link or not?
if it is a symbolic link, is there another command to show me which directories it is linked to?
View 1 Replies
View Related
Dec 5, 2010
Installed CentOS 5.5 some time ago and I can proudly say I am more than satisfied with it. Managed to install codecs, flash player, media players, chrome and opera browsers and all other things I need. My only problem is that as of about a week ago my external DVD player is not recognized any more by CentOS so I am unable to watch movies. My external DVD player is Magnavox and it works great but CentOS does not recognize it any more. I used to watch movies in CentOS in SMPlayer all the time. What to do to get it back?
View 1 Replies
View Related