LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-22-2014, 12:02 AM   #1
abhisheks77
Member
 
Registered: Apr 2014
Posts: 63

Rep: Reputation: Disabled
emcgrab in non-interactive mode


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.
 
Old 10-23-2014, 09:55 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by abhisheks77 View Post
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.
Yes, and you should start by reading the emcgrab man page/documentation. This has also been covered on the EMC forums:
https://community.emc.com/message/747709

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.
 
1 members found this post helpful.
Old 10-23-2014, 02:51 PM   #3
abhisheks77
Member
 
Registered: Apr 2014
Posts: 63

Original Poster
Rep: Reputation: Disabled
Thanks a lot
 
Old 06-14-2020, 03:07 PM   #4
ahmed_fahim64
LQ Newbie
 
Registered: Jun 2020
Posts: 1

Rep: Reputation: Disabled
Lightbulb For RHEL non-interactive emcgrab

Quote:
Originally Posted by abhisheks77 View Post
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]
 
Old 06-15-2020, 11:42 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by ahmed_fahim64 View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
interactive mode nagavinodh Linux - Newbie 6 04-07-2010 06:22 AM
C Shell, while loop in interactive mode? jhwilliams Programming 6 06-27-2007 02:16 PM
Cannot get into Interactive Mode on RHEL-Itanium Marc Thoelen Linux - Server 1 04-02-2007 07:36 AM
permanant interactive mode stand Linux - General 1 04-19-2004 05:21 AM
SuSE 8.1 - Is there an interactive mode during load? gracecourt Linux - Newbie 3 12-24-2002 10:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration