Red Hat / Fedora :: Concatenation Of Processes ?

Jan 29, 2009

Actually there are three c programs double,half and square which respectively double halfs and square an integer , i have place .out file in sbin folder ,now they are processes now i have to concatenate these three processes like double half it return 8 how i will write the codes for it.

View 1 Replies


ADVERTISEMENT

Red Hat / Fedora :: Files Concatenation - Two Files A.txt And B.txt ?

Nov 23, 2010

I have two files a.txt and b.txt.

a.txt content:

b.txt content:

What i am getting is by shooting----- #cat a.txt b.txt >> c.txt:

Desired output in c.txt the second number should be in new line:

View 3 Replies View Related

Programming :: Uncertain Output Of C++ String Concatenation Program

Sep 15, 2010

The below program is giving unpredictable and wrong output when I compile with g++ under Ubuntu OS , tried with the complier avilable with Ubuntu 8.04 and Ubuntu 10.04 LTS.

But it works fine when complied and ran Redhat g++ 3.4.6

View 5 Replies View Related

Programming :: String Concatenation In Perl Result In Two Lines - Not One?

Jan 11, 2010

I am new to perl and am having trouble adding some strings together.

My full code is below:

The problem is $NewCommandB is always split into two lines, where the second line contains the "/atlas2/<blah>/<etc>/..." string. Since I am generating a .sh file to execute a lot of similar commands I need the string to all be on one line. Any idea why I get this behaviour and any suggestion on how to tell perl to make $NewCommandB a one line string?

Btw for completeness finalFileList.txt contains just file names one line after another:

View 5 Replies View Related

Programming :: Csh Shell Script - String Concatenation - Add A New Line Character?

May 4, 2009

Inside a loop i'm populating a string variable. Because csh doesn't have very good support for arrays I thought of doing this. I want to add a new line character to the end of the concatenation each time the loop iterates. Then at the end print this variable out.

I tried " and some resources said it was just a "". Neither work. What am I doing wrong?

View 1 Replies View Related

Debian Installation :: Distro Upgrade Error "Use Of Uninitialized Value In Concatenation (.) Or String"

Mar 10, 2011

M busy upgrading one of my clients old Debain etch boxes to Lenny but i keep on getting this error.

Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/Config.pm line 22.
debconf: delaying package configuration, since apt-utils is not installed dpkg: unrecoverable fatal error, aborting: syntax error: unknown user `root' in statoverride file E: Sub-process /usr/bin/dpkg returned an error code (2)

View 1 Replies View Related

Fedora :: Disabling Gnome Processes?

Oct 21, 2010

I replaced my gnome with openbox some time ago, some of the gnome utilities still boots at at the start and I love and use most of them. Still few of them are causing problems, how can I selectively disable from autostarting?Also which utility takes care of mouse speed? I keeps resetting my settings?PS; I did some research and fooled around with xinit files, tried to grep them out of the init stuff, no result...

View 1 Replies View Related

Fedora :: Closing Thunderbird 3.0b4 Fails To End Processes?

Oct 12, 2009

since updating from thunderbird 3.0b3 to 3.0b4, thunderbird no longer closes properly when using file - quit. the windows close but the processes are left running and i have to kill them. it does this in normal mode and safe mode however, if i move my .thunderbird directory out of the way and set up an account from scratch it seems to work ok but i don't really want to have to fully reconfigure everything from scratch. how to identify the offending setting/addon/etc. ?

View 1 Replies View Related

Fedora :: Eclipse/java Processes Will Not Die When Quit?

Mar 21, 2010

I've Fedora 11 64-bit with Sun java SDK 1.6.0_18 and when quitting eclipse, the GUI window will be gone, but the process eclipse and java that it instantiates will not die. Subsequent execution of eclipse just creates new eclipse and java processes, taking up more memory. It doesn't matter whether I run from the command line or from the gnome menu.I tried both Fedora packaged eclipse-platform-3.4.2-20.fc11.x86_64 and the manually downloaded Eclipse Galilio, with the same problem. I tried removing ~/workspace/, ~/.eclipse and also tried -clean option, but still no go. I also have ~/.eclipse/org.eclipse.platform_*/configuration/config.iniosgi.bundlefile.limit=100 as explained in other threads which solves the start problem, but it has no effect for stopping.l -9.

View 1 Replies View Related

Fedora :: Open Multi Processes (command) Using Only One Terminal?

Apr 28, 2010

I just switch to fedora from windows recently. And I love the terminal of fedora alot. The problem is when I run some command on the terminal, I need to wait for that command to finish before executing another command. This is very inconvinient, say If I open eclipse using the terminal, this eclipse program will hog to the terminal until I closed it. So if I want to use terminal again I have to open another one.Hence the question is: Is there any way open multi processes(command) using only one terminal?

View 4 Replies View Related

Fedora :: Gnome: Screen Dims And Locks Up Processes?

Jun 8, 2010

This is a bit complicated to discribe because I don't know the cause, but this problem has been happening for some time (over a few years and generations of kernals), with different Gnome distributions, including Ubuntu (and family) and Fedora. When using Gnome (and only Gnome), I frequently see the screen dim. At the same time, all processes will be locked up. This may happen for a second or two, or it make require a reboot. The mouse can usually move and the underlying program GUIs are still visible, it's just that one or more of the GUIs will be dimmed. This is usually most noticeable with a browser, but that may just be a coincidence.

View 11 Replies View Related

Fedora X86/64bit :: All Gnome Related Processes Are Duplicated

Feb 18, 2011

I noticed this weird behaviour yesterday after the last update (not sure if it's really related, but I didn't notice this before).When I do a fresh start and log in - all the gnome related processes are DOUBLED in the memory Of course it causes weird errors, applet hanging or crashes, very sensible slowness while booting and operating, etc, etc.Basically I have 2 gnome-session loaded at once - one as a child process of gdm-binary and another separate one. Both sessions have all the child process loaded, so I turned out to have 2 Nautilus, 2 Metacity, 2 Gnome-panel, 8 python processes and all the set of applets are also doubled.

View 2 Replies View Related

Red Hat / Fedora :: Some Processes Does Not Start In Multi-user Mode

Feb 2, 2009

Few days ago, the server did not respond to a ssh request from a user at night. A user tried to check what went wrong with computer and tried to login from terminal next morning. As the computer was unresponsive, he somehow decided to boot it by turning the power off. To make the story short, the server rebooted; however, he can't login to his account. Actually, the server could not start some processes; but was able to ask user to enter his account username. Even though, he enters the correct username and password, server does not accept the request. I also could not login as root.

I just checked the server logs by booting it in single user mode. Here are some interesting lines:

Before the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed

After the reboot:
irqbalance : can't balance irqs on a uniprocessor system: failed

fsck:

This might be something related with shadow file.

Here is part of /etc/shadow

View 3 Replies View Related

Fedora :: Fc13 Gnome-system-monitor 'View All Processes' Not Available

Jul 11, 2010

In the gnome-system-monitor, on the "Processes" tab in the "View" menu, I should be able to choose between "Active Processes", "All Processes", and "My Processes". The chooses are all greyed out and I am only able to view "My Processes".I launched the app as root and had the same lack of choice.I also disabled SELinux and rebooted the machine.

View 4 Replies View Related

Fedora :: Finding Out What Processes Sending / Receiving Network Data?

Oct 27, 2010

I have a desklet that, occasionally after toying with network stuff, will tell me that large amounts of data are being sent/received. What's a good way to determine what processes are occupying these resources?!

View 14 Replies View Related

OpenSUSE :: Many Kjournald Processes OS 11.2

May 1, 2010

My system, setup as a server, has 9 kjournald processes and each one has many worker threads. FOr the most part they just sit idle but I do see one or two occasionally activate with disk activity (which you would expect).

However is 9 processes normal or am I getting stale processes that need to be looked into?

View 1 Replies View Related

Ubuntu :: See What Processes Are Using The Network?

Jul 16, 2010

I keep the network window of System Monitor active on my panel to see if anything is going on with the network.

After the last upgrade, lucid has been having nonstop short, small bursts of network activity, showing in system monitor as received data of approx 60 kb, then 0, then ~60, then 0, continuously. This is occurring before any applications are opened.

Whatever it is, it starts to tie up the processor until performance is unusable.

The processes screen does not offer any clues, perhaps because the data transfers are so small and spaced out. It still should indicate what is tying up the CPU, though. In the attached screencap, you can see the network activity pattern in the system monitor window in the panel.

Is there any way to monitor what processes are accessing the network in order to see what is going on?

View 3 Replies View Related

General :: What Is The Maximum No Of Processes That Can Be Run

Jul 23, 2010

I want to know what is the maximum no of processes that can be run in Linux ,as it is a multitasking so what is the limit of this.

some one told me that 8192 but why this not 10000 or 500 why 8192.

View 8 Replies View Related

General :: Cannot Get Rid Of Xterm Processes

Jul 26, 2010

I had this error when installing and running a vncserver before, which I have now removed. However, the xterm's seem to remain in the system and are regenerating themselves. Should the pid IDs stay the same each time I run this?

Code:
[root nxserver]# pidof xterm
15034 15033 15032 15031 15030 15029 15028 15027 15026
[root nxserver]# pidof xterm
15044 15043 15042 15041 15040 15039 15038 15037 15036

[Code].....

View 10 Replies View Related

General :: How To Know What Processes Are Running

Jun 6, 2010

GNU/linux kernel 2.6, Slackware 12.0.Hi:How do I know what processes are running?

View 6 Replies View Related

General :: How To Monitor Some Processes

Apr 30, 2011

I need to create a small list of processes in a monitor.conf file. A shell script needs to check the status of these processes and restart if they are down. This shell script needs to be run every couple of minutes.

The output of the shell script needs to be recorded in a log file.

So far I have created a blank monitor.conf file. I have gotten the shell script to automatically updated every couple of minutes The Shell script also sends some default test information to the log file.

how I go about doing this part ? A shell script needs to check the status of these processes and restart if they are down.

I have put in the conf file the below commands but I am not sure if this is right.

ps ax | grep httpd
ps ax | grep apache

I also dont know if the shell script should read from the conf file or if the conf file should send information to the shell script file.

View 5 Replies View Related

General :: Show Only The Processes That Use More Than 10% Of The Cpu?

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

Debian :: Rc.d Permanently Stopping Processes ?

Feb 21, 2011

I will be switching to Debian soon and have been forming a large script with a vbox test system to automate my system configuration when I switch.

When I install lamp (Or basically it's equivalent packages) apache and mysql start up automatically.

I could just use update-rc.d to remove the autostart but whenever there's a security or feature update for the package the files get replaced.

In addition, for some reason the system thinks it's a good idea to autostart half a dozen apache2 processes at the same time, sucking up a good 150Mb ram when not doing anything. (Anyone know why?)

How would I stop my system from doing this? Could I "chmod 000" the /etc/init.d files?

View 2 Replies View Related

Debian :: Hidden Processes On Squeeze X86?

Jul 18, 2011

This morning I ran unhide on my Squeeze x86 netbook. The brute force process detection came up with ahidden process. Repeated runs of unhide with the system in various states continued to show the process,but with a different PID each time.(Or maybe it was spawning new processes and killing itself every second or so. A newer version of unhide,which I compile from source, did describe the process as "maybe transient" or omesuch. Anyway, I've unhide on Squeeze before, and I know that detection of any hidden process is absolutely not normal.)Also, rkhunter found some hidden directories. Of particular note, I think, is /etc/.java, which contains evenmore hidden stuff. It *might* be system-wide preferences for the JVM, but somehow I doubt it.

So, I have two questions...1. Do I really have a rootkit or trojan infection? It looks like it, but I want confirmation that I'm not chasingphantoms. (Or that I am, whichever.)2. If so, how can I prevent a recurrence? FWIW I was running without iptables or any other firewall, but I madesure all my ports were closed; and I did most of my browsing through Chromium, which should have pretty

View 7 Replies View Related

OpenSUSE :: Terminate Not Responding Processes?

May 28, 2011

Just now Rhythmbox has stopped working. I can't restart it, so I thought I could kill the process to start it again. Is there something like the windows task manager in openSUSE or another way to list all processes and to kill one? I googled an found a few old threads saying that there is a performance monitor which is able to to that, but I can't find that either.

View 7 Replies View Related

OpenSUSE Install :: Speedup All Processes On A 2 Or 4 Cpu

Jul 12, 2010

On kernels from 2.6.27 and further

To speedup the working of all processes as follows:

add to the boot line as grub starts: noirqbalance elevator=cfg

yast2 is more responsif and the processes run on all the cpu's not 3 and 1 as with irqbalance

speedup yast2: export aria2c

result: Gkrellm with a load as little as 5% overall i see all the cpu's working

View 9 Replies View Related

General :: Change Priorities Of ALL Processes?

Jan 28, 2010

I know that you can modify the nice value of a particular process as follows:renice 19 -p 4567However, now I would be interested to set the renice value of ALL active processes.I am coming from the Win world so what I tried warenice 19 -p *Of course it is not working... Anyone a quick solution how to do that in Linux?

View 1 Replies View Related

General :: How To Log All Processes Launched And Arguments

Dec 16, 2010

I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?

View 3 Replies View Related

Ubuntu :: Killing Processes At The Startup?

Feb 21, 2010

Why each boot-level consist of shell-scripts that start and stop processes? Why does the system while booting not just simply add the necessary programs for the next level by starting them, thus making the stopping of specific tasks not necessary and certainly speeding up the boot process?

View 5 Replies View Related

Ubuntu :: Minimum Amount Of Processes That Can Be Run?

Feb 28, 2010

What is the minimum amount of processes that can be run and still keeping stable? I have what looks like over 100 processes running and my computer is lagging pretty bad. Attached is an output of
Code:
ps -A
And it comes and goes with the cpu usage. cpu1 will run at like 9 or 10 percent idle while cpu2 will run at 100 percent all the time. I am not sure whats going on. But id hate to have to start from scratch again begins I just got it set up the way i want it. And the network activity keeps having spikes when I am not online. I've scanned with multiple port scanners and nothing seems out of the norm.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved