What is a hyphen doing after PID for process in terminal

I am trying to get more familiar with Terminal and have looked at the 'top' command to view running processes and using that with the 'kill' command. Some programs seem to have a hyphen at the end of their process ID. What does this mean? The kill command doesn't really work on those applications. Instead of completely getting rid of the process it just seems to restart it. Microsoft Word always seems to have this hyphen in its PID, see the screenshot.
Any advice on what this is? How can I use it with the kill command?
Thanks.

I cannot tell why top does what it does.
When I did
top -l 1 >tmp.tmp
I found processes with - and + attached, but no *
If a process restarts, it is because something restarted it.  Where restart means it gets a new PID.
If a process does not die after a kill, it can mean:
a) that the process was written to catch the signal you sent (although -9 or -KILL cannot be caught).
b) Or the process in in kernel address space and is not returning (signals cannot be delivered to a process current in Kernel address space; such as the process made a kernel system call and has not returned because the system call is hung, like waiting for an I/O to finish that is never going to finish because of a problem).
c) you do not have sufficient privileges to kill that process (sudo kill -KILL pid # will generally kill anything that is killable).
I am assuming you are NOT including the - in the kill command, such as 1234- as I assume the kill command would not like the trailing -
You can also use Applications -> Utilities -> Activity Monitor to see if a process is 64 or 32 bits via the 'Kind' column.  Activity Monitor also has a built-in kill button.

Similar Messages

  • What is the most suitable image format for processing with imaq?

    Hello.
    What is the most
    suitable image format for processing with imaq?
    I want to capture an image of a usb webcam, store and
    then process it with imaq. I need to know what format to save the
    captured image can then load and process it with imaq vision.
    Thanks

    The only criteria is: don't use JPEG for anything scientific!  The compression involved with saving JPEGs means you always lose information.  I tend to prefer PNG - it's compressed, but non-lossy, and also widely supported.  TIFF is fine as well, but I don't think has any advantages over PNG for this application.  JPEG2000 can give good non-lossy compression I think is slower to read/write than PNG.

  • My question is while im playing farmville my screen comes up as unresponsive script. It does this quite often. I finally updated all my plugins I think so can you see what else im not doing. Thanks for your help

    I keep getting will playing farmville screen comes up as an unresponsive script. I think I finally updated all my plugins. I would appreciate your help.

    Hello zia200z:
               Goto Trend.com and run a full scan using house call its free. Then please install virus protection unless you love replacing hard drives and memory chips. You have a bad malware or virus on your computer that is causing these issues. You can pick up from any where especially from game sites and you tube sites. Ounce your system is clean then we be able to help you repair damages. Go from there. I hope D. drive has not been damaged yet. Recovery is easy to do. Provided D drive was not effected. What I would do is purchase two things a very good anti virus software such as Trend Micro Titanium Pro. Farely in expensive and a set of recovery disks from HP. Then just insert recovery disks and install anti virus software. These computers are excellent and are easley maintainable. I know Trend Titanium Pro can scan your back up files from this effected computer when you add these files back on again. I would start backing up my personal filed while you wait for delivery of recovery factory recovery disc. Yes it is easy to do recoveries but I think your D. drive has been damaged based on what you wrote. That is why I recommend you purchasing a set recovery disc.

  • What is hana ? does the syntax for abap in hana changes ?

    Hi All,
    I am very much interested to know HANA.
    can any one please explain me ???
    can we use normal ABAP syntax for HANA?
    Regards,
    Abdul

    Hi Abdul,
    first of all I suggest you to look into the detailed info material available here in this space. A good introduction for developers is to look into our reference scenario page: ABAP for SAP HANA Reference Scenario
    With our SAP HANA Database existing ABAP Coding will still run like on any other database. But with SAP HANA you also have the possibility to leverage specific features of this database.Information about these features can be found here: New ABAP for HANA features in SAP NW 7.4 SP5
    If you want to try it out yourself, here is a new end-to.end guide: Brand-new ABAP 7.4 for SAP HANA End to End Deve... | SCN
    Hope this helps, Cheers
    Jens

  • WaitFor() Does not wait for Process

    Experts,
    I have a Process p for a Microsoft Outlook Process OUTLOOK.EXE
    Now if there is an Email file (xyz.msg) opened as this process along with my MS Outlook running then,
    p.waitFor();
    // Where p = runner.exec(shell_command_to_open_msg_file);
    does not wait and move further.
    But if the MS Outlook is not running, then it waits till I manually close the Email msg file.
    How can I handle/overcome the former situation?
    Thanks in advance

    moondra_JavaDev wrote:
    How can I handle/overcome the former situation?
    You can't in java.
    What happens is that when outlook is already running then the new attempt to run does the following
    1. A application starts
    2. It determines that outlook is already running.
    3. It focuses that instance
    4. It exits.
    The last step is what you see. You do not have access to the one that is running because it isn't the same application.
    I would suggest examining the business requirements that are driving this. If you allow the user to already have outlook open then it seems rather odd that you are insisting that they exit it anyways. Instead you can pop a dialog and require that they tell you when they are done. Or don't use outlook and use java mail instead.

  • Error while doing Goods receipt for process order. Error code: "BS027"

    I am getting error while doing GR for a day whereas previous day(s) GR is already done and also 2 days post that day are also done successfully.
    Error :  ""Goods receipt for prodn. order" is not allowed (ORD XX-CEMTSAL) " (XX = First two characters of plant code)
    Error code: BS027.
    Thanks to all in advance.

    Hello,
    This issue would occur when you want to post a confirmation for a production order. The error message is generated if you wanted to post a backflush for a component and if this component was assigned to a sales order stock. The sales order itself was assigned to a work breakdown structure element which should be debited with the actual costs. However, the business transaction 'Confirm' is not permitted for a work breakdown structure.
    Please look into SAP Note 62367 and 64370
    Hope the information is helpful
    regards

  • Help Dont know what this code is doing ?????

    i dont know what this code is doing from the for part can some one explain it for me
    i am confused starting at the for statement thanks for the help
    public class LeastToGreatestPlaceHolder {
      public static void main(String []args) {
         int [] myArray;
         myArray = new int[3];
         myArray[0] = 6;
         myArray[1] = 7;
         myArray[2] = 9;
        for (int i = 0; i < 2 ; i++){     // confused here
         for(int j = 1; j < 3; j++) {
           int placeholder = myArray[j];
           if (myArray[i] > myArray[j]) {
             myArray[j] = myArray;
    myArray[i] = placeholder;
    System.out.print(myArray[0]);
    System.out.print(myArray[1]);
    System.out.print(myArray[2]);

    Have you tried running the program and seeing what it outputs?
    Have you considered writing out the state of the array and running through the code by hand?
    I'll give you a [head start|http://java.sun.com/docs/books/tutorial/java/nutsandbolts/for.html].

  • Email for process message failure in CO54

    Hi
    Does anyone know if it is possible to send auto generated emails for process message terminations in tcode CO54?
    Regards
    Werner

    Hi Rohit,
    You can maintain the email ids in following two reports for any queue blockage in outbound and inbound queue -
    /SAPAPO/RCIFQUEUECHECK - For Outbound queue Faiure
    /SAPAPO/RCIFINQUEUECHECK - Sends notifications in the event of inboundCIF errors
    Here you can specify the  -
    1. CIF name/initials like CF*
    2. Name/Distribution List to which mails should be triggered
    3. Target system name
    4. Other settings as needed
    Moreover, you can schedule these reports as periodic background jobs scheduled to run every 30 minutes/1hour as per business requirement.
    This will send emails whenever any queu failure occurs.
    Hope it helps you.
    Regards,
    Alok

  • Latest service pack for Process Control 2.5?

    Hi Gurus
    Can you please let me know what is the latest service pack available for Process Control 2.5?
    Regards
    James

    James,
    There is an SP05 for PC 2.5 and for the RTAs if you are using or plan to use automated controls.  The RTA service pack has to be installed on the target system.  Both SPs are downloaded separately.  The RTA SP version is dependent on the version of the backend system.
    Matt

  • After attempting to process my movie, I get the following message. "The project could not be prepared for publishing because an error occurred. (OpWrErr: file already open with with write permission). Any ideas what I'm doing wrong?

    After attempting to process my movie, I get the following message. "The project could not be prepared for publishing because an error occurred. (OpWrErr: file already open with with write permission). Any ideas what I'm doing wrong?

    Hi
    Error -49 opWrErr  File already open with write permission
    Trash the preference files while application is NOT Running.
    from Karsten Schlüter
    Some users notice on exporting larger projects from within iMovie that this operation is aborted with an 'error -49'
    This issue occours only on MacOs machines using 10.7x
    try switching-off the Local Mobile Backup
    in Terminal copy/paste
    sudo tmutil disablelocal
    Re-launch Mac
    Yours Bengt W

  • HT5071 After submission, how long does it take for a new book to appear in the iBook store?

    How long does it take for a new book to appear in the iBook store after you have submitted it successfully? I submitted a free book last night. No sign of it 6 hours later ... If the delay is because process are being followed, what ate they? Any ideas?

    5-10 days in November.

  • Neo2-FR won't power up after sitting for ~3+ standby - if less, it does power up

    Hi all,
    I had my Neo2-FR for about three months and have been working well going into standby (S3) and restarting by pressing the power button, until last week when I replaced the CPU fan with 120mm Scythe Kama PWM fan.  I don't know why a fan would prevent the PC from Powering On, so I'm baffled.  Even more bizarre, it works fine if when the PC goes into standby and brought back up in less than 3 hours or so (an estimated number).  So, this mainly happens when I go to bed at night, I press the standby key on my keyboard and the PC goes into the S3 state.  When I wake up the next morning, I press the power button to wake the PC and NOTHING - no boot, no power.  I have to unplug the power cord and leave it out for few minutes and plug it back in and then everything works fine again.  Here are the details.  Please help!!!
    My PC Spec.
    Mobo:  Neo2-FR (v1.2) BIOS Ver 1.85 (beta) - This hasn't changed.  It was working fine before the PWM Fan.
    Video:  ATI HD2600XT 256MB DDR3
    PS:  Antec EA-500 (500w)
    OS:  XP Pro SP2 & Vista Ultimate (dual boot)
    CPU:  Q6600 B3 (333x9) 3.0Ghz - 1.325v (this is the same as before the Fan)
    Heatsink:  Tuniq Tower with 120mm fan with fan control (comes with the HS).  I replaced the fan with above mentioned Scythe Kama PWN fan and the problem started.
    Memory:  Corsair CM2X2048-6400C5 (2GBx2).  The setting is at SPD - 800Mhz, but voltage is set to 1.9v
    HDD:  2x500GB Samsung 501LJ in RAID 0
    DVD RW:  NEC DVD-RW
    Everything is exactly the same for HW, SW, and BIOS setting before and after the PWM fan install, except for the following.
    1.  Replaced the Tuniq's stock 120mm fan (3 pin header with rear mounted fan control) with Scythe Kama PWM Fan 120mm.
    2.  When the fan was replaced, I changed the following BIOS Setting:
        a) H/W Monitor Menu:  Enabled "CPU Smart Fan Target" and set it to 40C
        b) Set the "CPU Min.FAN speed (%)" to "50%"
    Only weird the that existed from the very beginning, but I never follow-up since the PC worked fine is the LED Status Indicator (LED3).  The manual (on page 2-23) states the the LED3 "lights when system is on standby mode", but on my board, this light is always on.  Doesn't matter if the PC is ON or STANDBY or OFF.  As long as the power cable in plugged in, the light is on.  Also, the light never changes color - it's always red.  Is this normal? 
    This is really difficult to troubleshoot since I have to wait 5 hours or more to see if my changes fix the issue.  So far, I've changed various setting in the BIOS, but nothing helps.  To be honest, I'm not sure what to try.
    Thanks in advance for the help everyone!
    UPDATE:  I've given up on BIOS setting and switched from fan header from the 4pin CPU to Sysfan5 (spins a full rpm with no fan control) and the PC boots fine.  So, I guess by next step is buy another PWM fan to rule out the fan.  If the 2nd PWM fan does the same thing, can I assume the motherboard is defective?  Or is this a bug?  Just to be sure, I'll leave the fan connected to Sysfan5 over night tonight.
    UPDATE2:  This morning, the PC booted just fine when the Kama PWM fan was connected to the a sysfan5.
    If someone is using the stock CPU HS and Fan which uses 4pin PWM fan and they're able to use S3 (sleep and wake) properly, please post.  If so, I can assume the motherboard is defective.

    I made what I consider the dumbest of all mistakes in that I did not "correctly" follow instructions. I knew that I needed to unplug the unit to let it "reset", but I failed to completely disconnect all the components. The unit was obviously getting some trickle from the battery in the router that also controls my phone. The lesson here is that when you disconnect the power to let it reset, be sure that it is completely disconnected. Lesson Learned! Thanks for the help.

  • I am doing a cover for O.M.G. by usher and it requires 4 to 5 different vocal layers. My first "line" of vocals keeps disappearing even after i save it. So I have to redo everything on the top line. Any help?

    I am doing a cover for O.M.G. by usher and it requires 4 to 5 different vocal layers. My first "line" of vocals keeps disappearing even after i save it. So I have to redo everything on the top line. Any help?

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • SM36/37: Specification "After Job" does not work for Daily "periodcity"

    I reviewed http://help.sap.com/saphelp_nw04/helpdata/en/20/2d513897110872e10000009b38f889/content.htm, which states what I am trying to do should work, but it does not.
    Here's the deal:
    1.  I have two jobs: "A" and "B".
    2.  "A" runs Daily.
    3.  I set-up job "B" to run "After job" "A" in my SM36 definition.
    Job "B" will run the next day, but never runs again after that even though job "A" continues to run "Daily" as it should.
    Further info:
    1.  We have "Event-triggered" jobs that run fine, but the "After Job" designation doesn't seem to work ongoingly.
    2.  I can review both jobs "A" and "B" for any "Predecessor" or "Successor" jobs, and, the first jobs to run after the initial set-up DO reference each other (in other words, let's say I schedule job "B" to run "After job" "A" on Tuesday.  After Tuesday's run, Job "A" sees job "B" as it's "Successor" job and job "B" sees job "A" as it's "Predecessor" job), but the definition doesn't last into the next day ONLY FOR JOB "B" (as I mentioned, job "A" always runs fine).
    3.  I can't set the "periodcity" for job "B" because, once I flag it to run "After Job" "A", the "period" options disappear.
    4.  One final tidbit: the variant for job "B" has a "key date" specified so the date is dynamic for each day the job runs.  I can set up job "B" to run "Daily" with this variant and it runs fine, but I wanted it to run AFTER job "A" so it never runs if job "A" doesn't run.  (At this point, it's becoming a matter of principal!)
    Here's my question:
    Why won't job "B" continue to run "Daily" after job "A" (a "Daily" job) runs?
    Thanks in advance,
    Lara

    Please close this thread since you posted the same question here:
    [SM36/37: Specification "After Job" does not work for Daily "periodcity"|SM36/37: Specification "After Job" does not work for Daily "periodcity";

  • I had downloaded photoshop element12 and I don't know what I have to do after for installation

    I had downloaded photoshop element 12 and I don't know what I have to do after for installation.
    When I try, I have this message: Please install/uninstalled the product using set.up exe in the root folder...

    What does the file you downloaded look like - what is its name?  The instruction is telling you to look inside of it and run the setup.exe file.

Maybe you are looking for

  • SOLVED: The file or folder is corrupted and unreadable.

    On a Windows 7 Pro workstation, whenever a user logs in, they receive an error that the file C:\Windows\System32\en-us\winlogon.exe.mui is missing or corrupted. Every normal restart of Windows automatically invokes chkdsk c: /f. I've tried the follow

  • Error when trying to deploy crystal reports to a web site

    I'm using VS 2008.  When I add a Crystal Report page to my application I get the following error. Can anyone help be resolve this problem? Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a

  • Itunes credit card ban

    I have been using the came credit card with iTunes for 3-4 years. All of a sudden I was being asked to verify the payment method.  I thought it was because I got a new iPhone5 this weekend and it needed the verification because the account was being

  • How to fix missing entries in the printing preferences of Adobe PDF

    Hi all, we are on Acrobat Pro 8 (8.16) as part of the CS3 Design Standard package. A colleague of mine is missing some of the entries in the printing preferences of the Adobe PDF printer: The Adobe PDF Security dropdown is empty and he can't set the

  • Can not open safari because it has been close unexpectedly.....

    I can't open safari because a window come up saying that it has been close unexpectedly, I can't open safari because a window come up saying that it has been close unexpectedly