Load the config file so the environment variable gets set. The file needs to be in the home directory of the user running the command. Inside the file set an environment variable to the secret. It seems the fellow Monks have answer your question already but just to add also another possible uni platform (WindowsOS - LinuxOS) oprtion Proc::Background. Set the permissions of the file to be read-only by owner. I wonder if that's what you mean by "running status". To see every process on the system using standard syntax: To see every process on the system using BSD syntax: To get info about threads: To see every process running as root (real & effective ID) in user format: ps -U root -u root u To see every process with a user-defined format: ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm. ![]() See perlport for notes on the portability of this construct. Most Linux command-line users are familiar with either the standard UNIX notation or the BSD notation. ![]() This is useful to check that a child process is still alive (even if only as a zombie) and hasn't changed its UID. The venerable ps command deserves first consideration. Each process will have the unique number which is called as PID. ![]() If SIGNAL is either the number 0 or the string ZERO (or SIGZERO ), no signal is sent to the process, but kill checks whether it's possible to send a signal to it (that means, to be brief, that the process is owned by the same user, or we are the super-user). This command is used to find the PID (Process ID, Unique number of the process) of the process. Re: get the running status of process without using ps -ef No need to remember yourself, Super Search can do this for you - however you seem to have paused then :-) Instead of ps -ef, you would enter ps aux. Re^3: get the running status of process without using ps -ef The ps command under most versions of BSD requires different arguments to produce a full listing. ![]() Perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV) ' Help If you need it for just one process you could use grep to avoid multiple awk commands.«The Crux of the Biscuit is the Apostrophe» Question: QUESTION 1 Using the ps -ef command, locate the process with a PID of 1 What is the process called pageout /sbin/init /usr/sbin/nscd inetd.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |