Sponsored Content
Top Forums UNIX for Advanced & Expert Users Unzip - percentage of uncompression Post 302944813 by rbatte1 on Friday 22nd of May 2015 07:45:54 AM
Old 05-22-2015
Can you show us the output from a failure? Something like all the output from:-
Code:
df -k .
your unzip command here
echo $?                            # Show return code of your unzip command.
ls -l input_zip_file unzipped_file
df -k .

Please paste the output in CODE tags to make it easier to read and preserve multiple spaces.



Thanks, in advance,
Robin
 

10 More Discussions You Might Find Interesting

1. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

2. Programming

how do I calculate percentage ?

int percent (int a, int b) { if (b/a*100 > 25) return TRUE; else return FALSE; } I want to calculate what percentage of a is b. say if b = 48, a = 100 so b is 48% of a but wouldnt b/a give me 0 ??? what can be done ?? (6 Replies)
Discussion started by: the_learner
6 Replies

3. Linux

filesystem percentage

hi guys, im new in linux i need your help. my problem is how can i take the % here's the sample Available Used(%) Mounted On 1.2G 73% /var 299.3M 72% /home 520.3M 88% /home/file 164.8M 84% /home/prd 812.6M 79% ... (2 Replies)
Discussion started by: hdroid0326
2 Replies

4. Shell Programming and Scripting

How can i calculate percentage ??

i have 3 files like total.dat=18 equal.dat=14 notequal.dat=16 i need find the equal percentange means: equalpercentage = ($equal.dat / $total.dat * 100) How i can do this ? I tried some of the answers to calculate the percentage in this forums.but it couldn't worked.Some one please... (6 Replies)
Discussion started by: bobprabhu
6 Replies

5. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

6. UNIX for Dummies Questions & Answers

percentage

How to calculate percentage of two values in unix. (5 Replies)
Discussion started by: venkatesht
5 Replies

7. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

8. UNIX for Advanced & Expert Users

Uncompression file problem

hi i get .gz file from internet when i uncompress that file i getting wrong file fatmat for ex : file name x.gz inside x.gz ---> file name is abc.bat when i uncompresss >gunzip x.gz i am getting output as abc file format is wrong (1 Reply)
Discussion started by: ponmuthu
1 Replies

9. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

10. Shell Programming and Scripting

Get average and percentage non zero value

How to calculate percentage non zero value occurrence base on value col 1 and 2 2017 a 0 2017 a 2 2017 a 4 2017 a 2 2017 a 0 2017 b 2 2017 b 6 2016 a 2 2016 a 2 2016 b 2 2016 b 8 2016 b 0 2016 b 0 2016 c 2 2016 c 2 2016 c 0 i manage to get average # awk '{A++;B+=$3}END{for(X in... (1 Reply)
Discussion started by: before4
1 Replies
FENTONUPS(8)						      Network UPS Tools (NUT)						      FENTONUPS(8)

NAME
fentonups - Driver for Fenton Technologies (Megatec protocol) UPS equipment NOTE
This man page only documents the hardware-specific features of the fentonups driver. For information about the core driver, see nutups- drv(8). SUPPORTED HARDWARE
fentonups primarily supports Fenton Technologies models such as the PowerPal, PowerPure and PowerOn lines. Due to the common heritage of UPS equipment, it generally supports other hardware that also uses the Megatec protocol. At the time of this writing, the PowerGuard PG-600 and PowerCom SMK-800A are recognized and supported. Other Megatec units should also work, but they will generate a warning since their battery information is not known. EXTRA ARGUMENTS
This driver does not support any extra settings in the ups.conf(5). BUGS
The battery percentage is derived from the voltage data that the UPS returns, since the UPS doesn't return that value directly. On some hardware, the charge will remain at 100% for a long time and then drops quickly shortly before the battery runs out. You can confirm from the BATTVOLT readings that this is a problem with the UPS and not this driver. Similarly, the float from the charger in some models forces the battery charge percentage back up to 100% immedately after the UPS goes back on-line, so you can't tell when it is really recharged. Dead/broken batteries can't be reported reliably. If your UPS kills the load instantly or within seconds of starting the inverter, your batteries probably need to be replaced. Recently, a pair of 3.5 hour outages here (thanks CPS!) finally killed my batteries. You may have to run a manual test from the front panel before the "replace battery" LED will light. AUTHOR
Russell Kroll SEE ALSO
The core driver: nutupsdrv(8) Internet resources: The NUT (Network UPS Tools) home page: http://www.exploits.org/nut/ NUT mailing list archives and information: http://lists.exploits.org/ Wed Oct 16 2002 FENTONUPS(8)
All times are GMT -4. The time now is 09:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy