Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
Few of my servers are having large number of devices, so emcgrab keeps running on them for hours and hours. Is there anyway to set it on cronjob and have it run in background and it can be non-interactive and non-verbose ?
Servers are RHEL and Suse.
Regards
Last edited by abhisheks77; 10-22-2014 at 12:10 AM.
Hi,
Few of my servers are having large number of devices, so emcgrab keeps running on them for hours and hours. Is there anyway to set it on cronjob and have it run in background and it can be non-interactive and non-verbose ? Servers are RHEL and Suse.
Pay particular attention to the quiet option, and how to redirect output in a shell script. Since you're paying for support from EMC, Red Hat and SuSE, you should use that support. EMC has sample scripts available, and can assist you. You can also just look at the emcgrab.sh script itself, and modify it to do whatever you want.
Hi,
Few of my servers are having large number of devices, so emcgrab keeps running on them for hours and hours. Is there anyway to set it on cronjob and have it run in background and it can be non-interactive and non-verbose ?
Servers are RHEL and Suse.
Regards
For RHEL non-interactive emcgrab you can run the following:
go to emcgrab directory:
cd emcgrab
then run:
./emcgrab.sh -autoexec -quiet -legal &
-autoexec will allow non-interactive execution of emcgrab
-legal will accept the user agreement
-quiet is for non-verbose
& is to run the command in background.[/SIZE][/SIZE]
For RHEL non-interactive emcgrab you can run the following:
go to emcgrab directory:
cd emcgrab
then run:
./emcgrab.sh -autoexec -quiet -legal &
-autoexec will allow non-interactive execution of emcgrab
-legal will accept the user agreement
-quiet is for non-verbose
& is to run the command in background.
Right; that's what the OP was told **SIX YEARS AGO**. Check the dates on threads before reopening them
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.