Sponsored Content
Full Discussion: pause? where art thou?
Top Forums Programming pause? where art thou? Post 302073479 by jim mcnamara on Sunday 14th of May 2006 10:15:52 PM
Old 05-14-2006
Code:
system ("read somevar < /dev/tty");

Although fgetc() seems like a choice....
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to pause another process?

I guess I posted in wrong forum before. How do I pause another process and then restart it on linux? The other process doesn't listen for anything. Thanks for any help you can offer. Dane :confused: (1 Reply)
Discussion started by: daneensign
1 Replies

2. Programming

Waht does thou mean, old C code

ok... Take a look at the snippets below. What does it mean a construct like: void function() type var; { funct code... } hmmm.. i dont get it. my compiler either. void log_message(filename,message) char *filename; char *message; { FILE *logfile; logfile=fopen(filename,"a");... (5 Replies)
Discussion started by: heck
5 Replies

3. UNIX for Dummies Questions & Answers

pause() problems

well is gets stuck and i dont know why....... pid=fork(); if(pid==0) { pause(); write(1,"child",5); exit(0); } else { sleep(1); kill(pid,SIGCONT); write(1,"parent",5); wait(0); } all=1; (1 Reply)
Discussion started by: IdleProc
1 Replies

4. UNIX for Advanced & Expert Users

O argv, argv, wherefore art thou argv?

All of my machines (various open source derivatives on x86 and amd64) store argv above the stack (at a higher memory address). I am curious to learn if any systems store argv below the stack (at a lower memory address). I am particularly interested in proprietary Unices, such as Solaris, HP-UX,... (9 Replies)
Discussion started by: alister
9 Replies

5. Shell Programming and Scripting

Pause before exit

6) printf "\n GoodBye! \n\n"; exit ;; I am trying modify the above command to pause a couple of seconds before exiting, so a message can be displayed. Thank you :). (8 Replies)
Discussion started by: cmccabe
8 Replies
tracker-status(1)						   User Commands						 tracker-status(1)

NAME
tracker-status - Report the state of all data miners SYNOPSIS
tracker-status [OPTION...] DESCRIPTION
tracker-status shows the status of all miners installed. It also allows pausing and resuming of miners. For tracker-store state, you need to use tracker-control OPTIONS
-?, --help Show summary of options. -f, --follow Follow status changes as they happen. This requires Ctrl+C to stop and return to the command line. Each new status is put on a new line. To get more information, you can use --detailed with this. -d, --detailed For the most part, this purely provides a timestamp with each status update to follow WHEN changes happened. -s, --list-common-statuses This will list statuses most commonly produced by miners and the store. These statuses are not translated when sent over D-Bus and should be translated by each application. These are not considered static and are subject to change at any point. Additionally, these statuses are not the only ones which may be reported by a miner. There may be other states pertaining to the specific roles of the miner in question. -l, --list-miners-running This will list all miners which have responded to a D-Bus call. Sometimes it is helpfult to use this command with --list-miners- available. -a, --list-miners-available This will list all miners which are available even if they are not running at the moment. -i, --pause-details For listing all miners which are paused and the reasons for being paused, you can use this. It will also display the application that requested the pause too. -m, --miner=MINER This argument is used with --pause and --resume to say which miner you want to pause or resume. You can use the full D-Bus name, e.g. org.freedesktop.Tracker1.Miner.Files OR you can use the suffix, e.g. Files -p, --pause=REASON The REASON here is useful to know WHY the miner should be paused. A miner can be paused many times by multiple applications. Only when all pauses have been resumed will it continue. If successful, a cookie will be given to uniquely identify the request. This cookie is used to resume the pause at a later stage. -r, --resume=COOKIE The COOKIE is given by a successful --pause command. It is a number which identifies each pause request. When all pauses have been resumed, the miner will resume working. -V, --version Print version. SEE ALSO
tracker-store(1), tracker-stats(1), tracker-control(1) GNU
July 2009 tracker-status(1)
All times are GMT -4. The time now is 02:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy