General :: How To Identify Raid Degrade Process / How To Rebuilt Process

Jun 12, 2010

send the details raid configuration how to use in linux el5 and how to indentify the raid degrade process and how to rebuilt the process.

View 4 Replies


ADVERTISEMENT

General :: Identify Whether Process Is 32 / 64 Bit?

Dec 28, 2010

On my 64 bit Linux box, i have many processes which are 32 bit and some are 64 bit, how to identify which process is 32 bit and which is 64 bit?

View 2 Replies View Related

Red Hat / Fedora :: Identify A Process Id On A Cpu Core?

Jun 11, 2010

To see if an application is using all the cores in a system, I wanted to identify which process is running on a core at a given time. Is there any way to get that information?

View 3 Replies View Related

Software :: Identify What Process Are Making Up The WA Statistic?

Dec 23, 2008

I have a WA% between 50-80%.

So I have a few questions.

1. Is that WA% only disk I/O or can it include network IO?
2. How do I identify which processes are making up that WA statistic?
3. Why does iostat report 100% utilization when the drive read/write speeds are under 1MB/s?

The reason I'm asking.

My Oracle stats are saying that the drives are running at about 5MB/s right now, the WA is 55%, and the iostat -m -x is reporting the drives running at 100% utilization with a read/write rate under 1MB/s. The read speed of the drive is 98MB/s (tested with hdparm -tT when I installed the drives)

I know I have a few queries using full tables scans which I'm working on but I'd think that 100% utilization should be running at the full 98MB/s.

I want to try to identify which process (most likely and oracle one) is using the 100% utilization/55% WA.

View 5 Replies View Related

Ubuntu Networking :: Can't Identify Process/Unbind Socket Blocking MongoDB

Mar 27, 2011

I'm running Ubuntu 10.10 64bit, and I'm a newbie when it comes to networking.

My issue is that there seems to be a socket bound to a port blocking MongoDB from accessing it's usual port 27017. The strange thing that it was working just fine until recently and I can't figure out what I did to screw things up... I can make it use a different port but the reason why it can't bind to the default port and why I can't fix it is really bothering me. I've tried rebooting the machine even with nothing else running when I try to run Mongo is still blocked giving the following message:

Code:
ropes@ropes:~/mongodb-linux-x86_64-1.8.0/bin$ ./mongod
./mongod --help for help and startup options
Sun Mar 27 14:08:14 [initandlisten] MongoDB starting : pid=2718 port=27017 dbpath=/data/db/ 64-bit

[Code]....

View 5 Replies View Related

General :: Kills A Process Internally Or From Where It Picks File To Continue Its Process?

Jan 8, 2010

one tell me the internal working of kill command. that is how it kills a process internally or from where it picks file to continue its process.

View 3 Replies View Related

General :: Elevate The Priority Of A Process Without Process Superuser Rights?

Jan 21, 2011

I have a high priority service that I start with sudo nice -n -10 process. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.

View 3 Replies View Related

General :: Sending Signal From Child Process To Parent Process?

Sep 8, 2010

Code:

#include <stdio.h>
#include <unistd.h>
#include <signal.h>

[code]....

Description of what the code does or what i intended to do:

1. Created a child process from parent process using 'fork()'

2. Sent a signal 'SIGALRM' from child process to parent process using 'sigqueue' function.

(The Third parameter of 'siqueue' function contains the message (message msg) which the child process wants to send to the parent process.'msg' is a stucture instance containing a) pid of child and b) string) 5. Print the 'msg' sent by child process inside the signal handler function 'sig_action_function' of the parent process I am getting some junk value when this line is executed

Code:

printf("%d
",msg->cpid);

I expected to get the pid of child process, which the child process sent to parent process through the signal.

View 3 Replies View Related

General :: Process Scheduler A Part Of Process Queue?

Aug 12, 2010

as we all know Process Scheduler does Process scheduling and its a process as well. I was just wondering that if this happens then the Process "Process Scheduler" should be a part of Process queue as well.

So if there are 5 process are there in Process queue & process scheduler is administrating them then since its also a process, once it puts a process under RUN state it should itself go inside queue because at one instant only one process can get executed on a processor. This is quite confusing for me. Please help me out. I tried to search on this but could not find any relevant topics.

View 1 Replies View Related

General :: Find The Parent Process Of A Zombie Process?

May 4, 2010

How do you find the parent process of zombie processes?

When the child process is something where the parent is not entirely obvious...

Is there some way to list processes in tree format or something?

View 3 Replies View Related

General :: Process Shows Multiple Process Ids(pids)?

Nov 9, 2010

I have a process running on Linux.When i do ps -eaf | grep <myProcess>, it show muliple entries for <myProcess> with different pids for each entry.Kindly tell me what could be the reason for a process having multiple pids?

View 1 Replies View Related

General :: Ran New Process After Sungrid Process Finished?

Mar 23, 2010

I want ro ran new commandy after sungrid finish his task.Exp:qsub -q bla command1; command2 command2 start only when job of command1 finished.

View 9 Replies View Related

General :: Save The Process And Log Out Then Log In And Continue The Process?

Nov 16, 2010

I've been running my shellscript for about half an hour now. It's taking longer than I thought to process all the data. I have the process ID of it. Is it possible to save the process and log out then log in and continue the process? I know how to pause a process using kill -pause pID and continue it using kill -cont pID. But that only work if you don't log out after pausing it.

View 5 Replies View Related

Red Hat / Fedora :: Command To Stop That File/process Or Is It Just Kill The Process To Stop The Process?

Nov 11, 2010

I've some file with .sh extensions that runs some softwares.Now,how do I stop running that filesI know we run the command ./start_tomcat.sh to start the apache.Is there any command to stop that file/process or is it just kill the process to stop the process

View 2 Replies View Related

General :: Killing Parent Process Without Killing Child Process (Linux C Programming)?

Mar 10, 2011

I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

[code]....

View 1 Replies View Related

Ubuntu :: Raid 5 Rebuilt At Instal Lose Data?

Apr 17, 2011

I have 6 drives in raid 5 for data. 2 drives in raid 1 for boot. During install I set my 2 drives as raid 1 and had them formatted. I also told it the 6 drives were raid 5 but did not tell it anything else besides not to format them. When I booted for the first time I found that it was rebuilding the raid 5 and the file system type is unknown.

View 9 Replies View Related

Red Hat :: LVM Cleanup Process - Two RAID Arrays On Storage

Jan 3, 2010

I am in a situation where I am stuck with a LVM cleanup process. Although I know a lot about AIX LVM , but this is first time I am working with Linux LVM2. Problem is that I created two RAID arrays on storage, which appeared as mpath0 & mpath1 devices (multipath) on RHEL. I created logical volumes and volume groups and every thing was fine till I decided to clean the storage arrays and ran following script:

#!/bin/sh
cat /scripts/numbers | while read numbers
do
lvremove -f /dev/vg$numbers/lv_vg$numbers
vgremove -f vg$numbers
pvremove -f /dev/mapper/mpath$numbersp1
done

Please note that numbers was a file in same directory, having numbers 1 and 2 in separate line. Scripts worked well and i was able to delete definitions properly (however I now think I missed one parted command to remove the partition definition from mpath device. When I created three new arrays, I got devices from mpath2 to mpath5 on linux and then I created vg0 to vg2. By mistake, I ran above script again for cleanup purpose and now I got following error message

Cant remove physical volume /dev/mapper/mpath2p1 of volume group vg0 without ff[/B]

Now after doing mind search, I now realize that I have messed up (particularly because mpath devices did not map in sequence to vg devices and mapping was like mpath2 --- to ---- vg0 and onwards). Now how I can cleanup the lvm definitions? should i go for pvremove -ff flag or investigate further? I am not concerned about data, I just want to cleanup these pv/vg/lv/mpath definations so that lvm can be cleaned up properly and I can start over with new raid arrays from storage?

View 1 Replies View Related

Programming :: Displaying Process Id In Shell Script But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh Code: #!/bin/bash

result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')
echo $result
if [ "$result" == "" ];

[code]...

View 4 Replies View Related

Programming :: Difference Between Init.rc Process And Normal Process?

Mar 31, 2011

Is there any difference in cpu usage for process in init.rc(runs automatic when boot is happened) and manually running process. Will these both have same priority by default...?

View 1 Replies View Related

Programming ::get The PID Of The Process Giving Kill Signal To A Process?

Nov 26, 2008

I tried googling but didn't get any answer for this.I have a process called "abc" and it is running with PID "123".I have a putty session opened with PID "999".I am giving kill -TERM 123 from putty session.My process "abc" before dying it should catch the PID of the terminal which provided TERM signal to it.Is there any way to find this out

View 2 Replies View Related

OpenSUSE Install :: 11.2 On RAID 0 Installation - Process Stop At 1% On Operating With HDD

Feb 27, 2010

I'll have a Sony VAIO AR290 with 2 HDD, earlier I'll have a Windows XP and SUSE and RAID was turned off. Now I turn on RAID in STRIPE mode for better productivity, Windows 7 installation was successful, It creates MBR partition (100 M and C: HDD. During SUSE installation(I've chose all parameters- swap and partition) installation process stop at 1% on "operating with HDD" and my VAIO dont answer on any key pressed (alt ctr del, ctr c, esc) and I'll should to turn it power off. During surfing web, I'll find some solutions to solve it by creating root partition but It hasn't any results.

View 7 Replies View Related

Fedora Installation :: 10 - Get To Select The Intel RAID Driver In The Install Process?

Jan 12, 2009

Installing new Intel server S5000VSA (Sapello) motherboard with RAID 1. Downloaded F10 32 bit DVD and run install. Everything works fine and select Samba and all that. Install completes but on reboot get a blank screen.

I know with Windows one has to load the RAID driver off the Intel driver CD, so guess that is the problem. But how do I do this in Fedora? Question: How do I get to select the Intel RAID driver in the install process? There does not seem to be any place to stop and make this selection. I tried selecting the Red Hat and Suze installs on the Intel configuration assistant but it then reboots and that is it. In Windows it would ask to insert the Intel driver CD but that does not happen. So I am stuck. I loaded Fedora some 3 year ago and like it but then it was not on a RAID setup. I created a VMWare install on my desktop and did the same install options and it works. So the DVD seems fine.

View 3 Replies View Related

General :: Get Process Name By Process Id?

Sep 17, 2010

I need a command to get the process name by process id.

View 2 Replies View Related

Software :: Rebuilt RAID Array With Old Mount Points Present - File System Check Fails On Boot

Dec 2, 2009

I have one hard disk for my root partition and a disk array on a separate mount point. I rebuilt my disk array, but I didn't delete my original mount points beforehand because I was hoping it would just "pick up". So now when I boot up, the OS tells me that the filesytem check fails because it can't find the array to map to the mount point. I know that I need to edit my /etc/fstab and remove the line that defines my mount point on the disk array. But it appears to be read only filesystem when I am in repair mode. I can't force the write with vi.

View 3 Replies View Related

Programming :: Showing Process Id But There Is No Such Process?

Nov 9, 2010

I have a shell script to identify whether the process is running or not. If the process is not running, then I execute another script file to run my application. Below is my script and saved this script as monitorprocess.sh

Code:
#!/bin/bash
result=$(ps -ef | grep -v grep | grep "applicationname.sh" | awk '{print $2}')

[code]...

View 14 Replies View Related

General :: Identify Machine And Raid Version With Command Line

Mar 14, 2011

Is there a way to identify the machine (I believe it's an HP), the information on the type and size of drives it uses, and what version of RAID it has through command line?

View 3 Replies View Related

Programming :: Under Which Circumstances A Child Process Creates Another Child Process Using Fork

Dec 7, 2009

Consider the following code:

Code:

int main()
{
int i=0;
pid_t pid;
for(i=0;i<2;i++)

[code]....

I get the following output:

Parent: chid_pid=4356 i=0 parent's pid=4355
This is child 4356 i=0
This is child 4357 i=1

[code]....

I can observe instead of two children(as I expect) processes there are three. This is because child process 4356 creates its own child. Why all the messages of the type "This is child X i=Y" are concentrated one under another? How exactly fork works? Is affected by the fact that I have a dual-core processor?

View 3 Replies View Related

General :: Dvd Drive Doesn't Show Up In Os Of Rebuilt Pc

Sep 17, 2010

dvd drive doesn't show up in os of rebuilt pc

My dvd drive opens and closes and shows up in the bios when i attach a hard drive that isn't working!!

View 7 Replies View Related

General :: How To Tell If Process Is 64bit

Dec 21, 2010

Given the pid of a process that's running on a x64 linux, how do I tell if it's running a 32 or 64 bit binary? I can look at the binary it's running out of 'ps' and do a file on that but I was wondering if there's a way to tell by looking at /proc/ or something like that.

View 2 Replies View Related

General :: Pinning Process To A CPU?

Mar 24, 2011

I wish to pin a process to a CPU1 in my dual CPU machine - how can I do it in Linux - any pointers ?

View 2 Replies View Related







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