Graphical Display Of Script Execution & Output


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Graphical Display Of Script Execution & Output
Prev   Next
# 1  
Old 12-11-2017
Graphical Display Of Script Execution & Output

Hello All i have a KSH script which basically takes attribute name as input argument and searches whole Netezza appliance and prints information of where that column is used (Table/Views) etc.
Problem with this approach business users have to raise SUDO access request, Install Putty, run through couple of manual instructions to execute the script.
I am thinking of any other alternative approach where users could go to internet explorer and type in the attribute name and it should display the contents or output inforamtion from the script.
Are there any other better ideas or solutions for implementing this? Wish you could give me an example or demo of similar implementation.

Please let me know

Thank you.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Cannot show graphical login display

Hi all, I'm running Red Hat Enterprise Linux Server 6.3 Santiago. I already installed the X Window package during installation and the graphical login display can be shown normally after installation. Yesterday, I accessed remotely by GUI mode using VNC viewer and somehow it got crashed.... (1 Reply)
Discussion started by: sergionicosta
1 Replies

2. Shell Programming and Scripting

output from remote server during execution of a script

How to see the output from remote server during execution of a script ? I am executing a script (ls) from machine 1 but the o/p should be displayed in machine 2. Can I achieve this ? Example:- Machine 1:- # ls Machine 2:- (console) file1 file2 file 3 dir1 dir2 (0 Replies)
Discussion started by: frintocf
0 Replies

3. SuSE

Non Graphical AutoYast installations & Kickstart

Hi We are using Kickstart to push images out for Suse using various releases as far back as 9.0. The trouble is we often have issues with ILO, ILO2, & ILO3 so prefer to use ssh onto the ILO and use textcons to get a text console. AutoYast when using the AutoYast.xml file goes into... (0 Replies)
Discussion started by: Swaps
0 Replies

4. Shell Programming and Scripting

How to refresh a graphical display through bash script

Hi folks , I need to display a message graphically using a messagebox or textbox through bash script. However the message should be keep changing every 4 secs . I input the message from a file and use "gxmessage" to display it . gxmessage -nofocus -center -title "Welcome screen" -geometry... (3 Replies)
Discussion started by: ddspark
3 Replies

5. UNIX and Linux Applications

invoke remote graphical application..and display locally

Hi, I want to invoke(run) a graphical application remotely, and the display should be in remote itself. (no X redirect).i want to do this through ssh. like if i login to a remote machine and run firefox it should display there itself. how can i do this..? (2 Replies)
Discussion started by: madhusudankh
2 Replies

6. Shell Programming and Scripting

Execution Output of a shell script into a file.

Hi Experts, I have a script called test.sh. I am trying to execute it with sh -x test.sh. Where i can find sequence of steps executed one by one. Now i want to these executions to be captured in a file. i.e sh -x test.sh > output.txt the above one is notworking. can anyone help me... (6 Replies)
Discussion started by: naree
6 Replies

7. Shell Programming and Scripting

Automatically Rerun a script based on previous execution output

Hi Experts, I have a shell script called "updatevs" that is scheduled to run at 6.00 am everyday via cronjob. The cronjob will execute this script and output to a log file. The functionality of this script is to read the database and run a set of commands. This script is generally successful... (6 Replies)
Discussion started by: forumthreads
6 Replies

8. HP-UX

need graphical display of Hp server

Hi all, i need graphical display of my Hp server to install oracle software.i connected it through telnet.can we connect from windows client to Hp server through remote desktop connection.please guide.i try a lot to get it. thanks in advance. (1 Reply)
Discussion started by: younusdba
1 Replies

9. Shell Programming and Scripting

Net::SSH::Perl->Execute any unix command & display the output in a proper form

Net::SSH::Perl ...... how to print the output in a proper format my $cmd = "ls -l"; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd("$cmd"); print $stdout; the script works fine, but i am unable to see the output... (2 Replies)
Discussion started by: gsprasanna
2 Replies

10. UNIX for Dummies Questions & Answers

Need to display the output and parse it after execution is finshed.

Hello all, When I run pkgadd -d gcc-2.95.3-sol8-sparc-local I get the following error cpio: Cannot write "reloc/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/cc1", errno 28, No space left on device cpio: Cannot write "reloc/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/cc1chill", errno 28, No space... (0 Replies)
Discussion started by: rakeshou
0 Replies
Login or Register to Ask a Question
SUPERMIN-HELPER(8)					      Virtualization Support						SUPERMIN-HELPER(8)

NAME
supermin-helper - Reconstruct initramfs from supermin appliance. SYNOPSIS
supermin-helper supermin.img hostfiles.txt host_cpu kernel initrd supermin-helper input [...] host_cpu kernel initrd supermin-helper -f ext2 input [...] host_cpu kernel initrd appliance supermin-helper -f checksum input [...] host_cpu DESCRIPTION
supermin-helper reconstructs a bootable kernel and initramfs from a supermin appliance. First you should be familiar with supermin(8). PARAMETERS
Of the required parameters, the first few are input files, and the last two or three are output files. "supermin.img" and "hostfiles.txt" are the input files which describe the supermin appliance. (You can also use a directory name here which is searched for files). "host_cpu" should be the host CPU, eg. "x86_64" or "i686". "kernel", "initrd" and "appliance" are the temporary output files that this script produces. These output files are meant to be used just for booting the appliance, and should be deleted straight afterwards. The extra "appliance" parameter is only required when the format is "ext2". None of these parameters are needed for the checksum output "-f checksum". OPTIONS
--help Display brief command line usage, and exit. -f fmt --format fmt Select the output format for the appliance. Possible formats are: cpio A Linux initramfs. This is the default. In this case you have to supply names for the "kernel" and "initrd", where the "initrd" is the appliance. Note that cpio(1) might not be able to extract this file fully. The format used by the Linux kernel is not quite a true cpio file. ext2 An ext2 filesystem. In this case you have to supply names for the "kernel", a small "initrd" which is used just to locate the appliance, and the "appliance" (the ext2 filesystem). checksum Output a checksum. This prints a checksum which only changes when one of the input files changes. You can use this in order to cache the output of a previous run of this program: computing the checksum is much quicker than building an appliance, and you only need to invalidate the cache (and consequently rebuild the appliance) when the checksum changes. Note that the host_cpu and the UID of the current user are included in the checksum. --copy-kernel Copy the kernel instead of symlinking to the kernel in "/boot". This is fractionally slower, but is necessary if you want to change the permissions or SELinux label on the kernel. -k file --kmods file If this option is specified, then "file" should be a list of wildcards matching kernel module names, eg: virtio*.ko scsi*.ko piix.ko In this case, only kernel modules matching those wildcards will be included in the output appliance. Note: You must resolve any dependencies yourself as this does not pull in dependent modules automatically. If this option is not specified, then every kernel module from the host will be included. This is safer, but can produce rather large appliances which need a lot more memory to boot. -u user --user user -g group --group group Run supermin-helper as an alternate user and/or group. "user" and "group" can be specified as either a name, which will be resolved using the system name service, or a uid/gid. Use of these options requires root privileges. Use of these options is required if running supermin-helper as root with the effective uid/gid set to non-root. Bash will reset the effective uid/gid to the real uid/gid when invoked. As supermin-helper uses bash in parts, this will result in the creation of an appliance with a mixture of ownerships. -v --verbose Enable verbose messages (give multiple times for more verbosity). -V --version Display version number and exit. COMPRESSED INPUT FILES
supermin-helper >= 4.1.4 supports gzip-compressed input cpio image files. "hostfiles" cannot be compressed. Compressing input files saves space, but can make supermin-helper run fractionally slower. SPEED
In libguestfs, on a mid-range Intel-based PC, we reconstruct the initramfs using this script in around 1/5th of a second (assuming a "hot cache" - it's rather slower when run the first time on a cold cache). Some tips to improve performance: o Use a kernel module whitelist (the "--kmods" option), and only list the kernel modules you really need. o Minimize the appliance, removing as much extraneous junk as possible. ENVIRONMENT VARIABLES
SUPERMIN_KERNEL If this environment variable is set, then automatic selection of the kernel is bypassed and this kernel is used. The environment variable should point to a kernel file, eg. "/boot/vmlinuz-3.0.x86_64" The corresponding module path is guessed from the kernel name, but you can override that by setting "SUPERMIN_MODULES". SUPERMIN_MODULES If "SUPERMIN_KERNEL" and "SUPERMIN_MODULES" are both set, then automatic selection of the kernel is bypassed and the kernel and module path are set to these values. The environment variable should point to a module directory, eg. "/lib/modules/3.0.x86_64/" This has no effect if "SUPERMIN_KERNEL" is not set. SEE ALSO
supermin(8). AUTHORS
Richard W.M. Jones <rjones @ redhat . com> COPYRIGHT
(C) Copyright 2009-2013 Red Hat Inc., <http://people.redhat.com/~rjones/supermin>. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. supermin-4.1.3 2013-08-28 SUPERMIN-HELPER(8)