Sponsored Content
Top Forums Shell Programming and Scripting Disk Space Utilization in HTML format working in one environment and not working on the other Post 303021322 by Harihsun on Wednesday 8th of August 2018 05:38:13 AM
Old 08-08-2018
I am not getting you Smilie .. Could you please help to rephrase it in the code if possible. Sorry for bothering Smilie _/\_
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display o/p in HTML format from unix environment

Hi, i want to disply the o/p in HTML format from unix environment. Let me explain my requirement. First an automated email should be sent in HTML format. The report contains number of error on a daily basis for this week. email looks like below, 01-04-2010 1000 02-04-2010 ... (3 Replies)
Discussion started by: apsprabhu
3 Replies

2. Shell Programming and Scripting

disk space utilization script

Hi, I wrote the following script for monitoring disk space and inform the concerned team accordingly. But script gives me below error syntax error at line 70 : `<' unmatched #!/bin/ksh . /home/scr/.profile . /home/scr/.infa_env # Get the list of Integration Services ... (6 Replies)
Discussion started by: svajhala
6 Replies

3. Shell Programming and Scripting

sed command working different in linux environment.

Hi I tried running the code scrname=`whence $0 | sed -e 's/\.\///g'` where $0 is substituted by cm_dsjobrun.sh in unix env then the value it returns me is SCRNAME=/data/ds/dpr_ebicm_uat/etl/cm3_0/scripts/shell/cm_dsjobrun.sh whereas i ran the same code on linux env The value... (9 Replies)
Discussion started by: vee_789
9 Replies

4. Web Development

Html java script not working

Could anyone please let me know what went wrong with the below html code .. <html> <head> <script type="text/javascript"> function check(elem) { document.getElementById('mySelect1').disabled = !elem.selectedIndex; } </script> </head> <body> <form> <select id="mySelect"... (1 Reply)
Discussion started by: scriptscript
1 Replies

5. Shell Programming and Scripting

Need simpler way to find all my disk space utilization using df -h

Hi All, I am using SSH Tectia terminal to get the disk space utilization of a particular folder /opt/logs in all the servers one by one using the command df -h and looking through the list of folders manually to get /opt/logs folder disk space used percentage . The problem here is , it... (2 Replies)
Discussion started by: aakhan2011
2 Replies

6. Shell Programming and Scripting

Sendmail cmd for html body and attachment not working

Hi, I am having trouble in sending a mail with html body and attachment (csv file). We don't have uuencode or mutt (not allowed to install as well) The below code is perfectly working for sending the html body alone: export MAILTO=abc@xyz.com export CONTENT="/home/abc/list.html"... (2 Replies)
Discussion started by: close2jay
2 Replies

7. Shell Programming and Scripting

Html format not working

Hi All, I have a written a script which sents the output in html format and displays it in the foreground. But for some reason it is displaying in raw html format in outlook 2013. What could be the reason. I am pasting the script as below:- $ cat script.sh #!/bin/bash .... (4 Replies)
Discussion started by: Arun_p
4 Replies

8. Shell Programming and Scripting

Working out percentage of memory utilization

Hi there I am middle of writing a script to allow me to see the % of the memory which is being used. When I submit my script I don't get any errors but I just get a blank output. Any pointers? available=`free -m | grep available` if then ... (7 Replies)
Discussion started by: simpsa27
7 Replies

9. UNIX for Beginners Questions & Answers

"SQLPLUS -S " is not working in one environment where same code is working in another

"SQLPLUS -S " is not working in one environment where same code is working in another getting below error =================================== SQL*Plus: Release 11.2.0.3.0 Production Copyright (c) 1982, 2011, Oracle. All rights reserved. Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus... (1 Reply)
Discussion started by: yogendra.barode
1 Replies
QSound(3qt)															       QSound(3qt)

NAME
QSound - Access to the platform audio facilities SYNOPSIS
#include <qsound.h> Inherits QObject. Public Members QSound ( const QString & filename, QObject * parent = 0, const char * name = 0 ) ~QSound () int loops () const int loopsRemaining () const void setLoops ( int l ) QString fileName () const bool isFinished () const Public Slots void play () void stop () Static Public Members bool isAvailable () void play ( const QString & filename ) bool available () DESCRIPTION
The QSound class provides access to the platform audio facilities. Qt provides the most commonly required audio operation in GUI applications: asynchronously playing a sound file. This is most easily accomplished with a single call: QSound::play("mysounds/bells.wav"); A second API is provided in which a QSound object is created from a sound file and is played later: QSound bells("mysounds/bells.wav"); bells.play(); Sounds played using the second model may use more memory but play more immediately than sounds played using the first model, depending on the underlying platform audio facilities. On Microsoft Windows the underlying multimedia system is used; only WAVE format sound files are supported. On X11 the Network Audio System is used if available, otherwise all operations work silently. NAS supports WAVE and AU files. On Macintosh, ironically, we use QT (QuickTime) for sound, this means all QuickTime formats are supported by Qt/Mac. On Qt/Embedded, a built-in mixing sound server is used, which accesses /dev/dsp directly. Only the WAVE format is supported. The availability of sound can be tested with QSound::isAvailable(). See also Multimedia Classes. MEMBER FUNCTION DOCUMENTATION
QSound::QSound ( const QString & filename, QObject * parent = 0, const char * name = 0 ) Constructs a QSound that can quickly play the sound in a file named filename. This may use more memory than the static play function. The parent and name arguments (default 0) are passed on to the QObject constructor. QSound::~QSound () Destroys the sound object. bool QSound::available () [static] Returns TRUE if sound support is available; otherwise returns FALSE. QString QSound::fileName () const Returns the filename associated with the sound. bool QSound::isAvailable () [static] Returns TRUE if sound facilities exist on the platform; otherwise returns FALSE. An application may choose either to notify the user if sound is crucial to the application or to operate silently without bothering the user. If no sound is available, all QSound operations work silently and quickly. bool QSound::isFinished () const Returns TRUE if the sound has finished playing; otherwise returns FALSE. int QSound::loops () const Returns the number of times the sound will play. int QSound::loopsRemaining () const Returns the number of times the sound will loop. This value decreases each time the sound loops. This function is not supported on Windows and will always return the total number of loops. void QSound::play ( const QString & filename ) [static] Plays the sound in a file called filename. Example: sound/sound.cpp. void QSound::play () [slot] This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Starts the sound playing. The function returns immediately. Depending on the platform audio facilities, other sounds may stop or may be mixed with the new sound. The sound can be played again at any time, possibly mixing or replacing previous plays of the sound. void QSound::setLoops ( int l ) Sets the sound to repeat l times when it is played. Passing the value -1 will cause the sound to loop indefinitely. On Windows, sounds with a loop count different from 1 will always loop indefinitely. See also loops(). void QSound::stop () [slot] Stops the sound playing. See also play(). SEE ALSO
http://doc.trolltech.com/qsound.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qsound.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QSound(3qt)
All times are GMT -4. The time now is 09:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy