Sponsored Content
Full Discussion: calculate the space
Top Forums Shell Programming and Scripting calculate the space Post 302166147 by za_7565 on Monday 11th of February 2008 05:48:02 AM
Old 02-11-2008
Hi Smiling Dragon,

Thanks for your help .. it works for me !!! Appreciate that.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

wake up user space thread from kernel space ISR

Hello, I'm searching for a proper way to let the kernel space ISR(implemented in a kernel module) wake up a user space thread on a hardware interrupt. Except for sending a real-time signal, is it possible to use a semaphore? I've searched it on google, but it seems impossible to share a... (0 Replies)
Discussion started by: aaronwong
0 Replies

2. Shell Programming and Scripting

Calculate total space, total used space and total free space in filesystem names matching keyword

Good afternoon! Im new at scripting and Im trying to write a script to calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies

3. Shell Programming and Scripting

calculate swap space usage in Solaris and converts it in Percentage

Hi Folks, I am looking for a way to write a script to calculate swap usage in Solaris so that the current usage will be shown in Percentage value. Thanks!! Based on 'swap -s' command # swap -s total: 1378936k bytes allocated + 1236880k reserved = 2615816k used, 2725104k available (2 Replies)
Discussion started by: jaapar
2 Replies

4. Shell Programming and Scripting

Calculate age of a file | calculate time difference

Hello, I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes... I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes. To do... (10 Replies)
Discussion started by: worm
10 Replies

5. Linux

How to reclaim the space which i used to increse the swap space on Xen,

Hi, i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :- 1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1057 ls -l /root/myswapfile 1058 chmod 600 /root/myswapfile 1059 mkswap /root/myswapfile 1060 swapon /root/myswapfile ... (1 Reply)
Discussion started by: apm
1 Replies

6. Emergency UNIX and Linux Support

Command to calculate space for all subdirs under a dir

du -hs command calculates the space for all the subdirs under a dir ...but it is very slow if the dir is huge....is there any quick way ...I am using Sun OS. Thanks, Ajay (19 Replies)
Discussion started by: ajaypatil_am
19 Replies

7. Fedora

Need to incrwase PHYSICAL VOLUME space on hard drive with free space on it

Hi, I run Fedora 17. I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies

8. UNIX for Dummies Questions & Answers

Changing only the first space to a tab in a space delimited text file

Hi, I have a space delimited text file but I only want to change the first space to a tab and keep the rest of the spaces intact. How do I go about doing that? Thanks! (3 Replies)
Discussion started by: evelibertine
3 Replies

9. UNIX for Advanced & Expert Users

Need to remove leading space from awk statement space from calculation

I created a awk state to calculate the number of success however when the query runs it has a leading zero. Any ideas on how to remove the leading zero from the calculation? Here is my query: cat myfile.log | grep | awk '{print $2,$3,$7,$11,$15,$19,$23,$27,$31,$35($19/$15*100)}' 02:00:00... (1 Reply)
Discussion started by: bizomb
1 Replies

10. Shell Programming and Scripting

Gawk --- produce the output in pattern space instead of END space

hi, I'm trying to calculate IP addresses and their respective calls to our apache Server. The standard format of the input is HOST IP DATE/TIME - - "GET/POST reuest" "User Agent" HOST IP DATE/TIME - - "GET/POST reuest" "User Agent" HOST IP DATE/TIME - - "GET/POST reuest" "User Agent" HOST... (2 Replies)
Discussion started by: busyboy
2 Replies
UPLCOM(4)						   BSD Kernel Interfaces Manual 						 UPLCOM(4)

NAME
uplcom -- USB support for Prolific PL-2303/2303X/2303HX serial adapters driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device usb device ucom device uplcom Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): uplcom_load="YES" DESCRIPTION
The uplcom driver provides support for various serial adapters based on the Prolific PL-2303, PL-2303X and PL-2303HX USB-to-RS232 Bridge chips. The device is accessed through the ucom(4) driver which makes it behave like a tty(4). HARDWARE
The uplcom driver supports the following devices and adapters: o ADLINK ND-6530 USB-Serial Adapter o Alcatel One Touch 535/735 Phone o Alcor AU9720 USB-RS232 Serial Adapter o AlDiga AL-11U Modem o Alltronix ACM003U00 Modem o Anchor Serial adapter o ATEN UC-232A o BAFO BF-800 and BF-810 o Belkin F5U257 o BenQ S81 Phone o Corega CG-USBRS232R Serial Adapter o Cressi Edy (Seiko) Diving Computer o ELECOM UC-SGT Serial Adapter o HAL Corporation Crossam2+USB IR commander o Hama USB RS-232 Serial Adapter o Hamlet exagerate XURS232 o HP LD220 Point-Of-Sale (POS) Display o IOGEAR UC-232A o I/O DATA USB-RSAQ, USB-RSAQ2, USB-RSAQ3 and USB-RSAQ5 o iTegno WM1080A GSM/GFPRS Modem o iTegno WM2080A CDMA Modem o Leadtek 9531 GPS o Micromax 610U Modem o Microsoft Palm 700WX o Mobile Action MA-620 Infrared Adapter o Motorola Cables o Nokia CA-42 Cable o OTI DKU-5 cable o Panasonic TY-TP50P6-S flat screen o PLX CA-42 Phone Cable o PLANEX USB-RS232 URS-03 o Prolific Generic USB-Serial Adapters o Prolific Pharos USB-Serial Adapter o RATOC REX-USB60 o Radio Shack USB Serial Cable o Sagem USB-Serial Adapter o Samsung I330 Phone Cradle o Sandberg USB to Serial Link (model number 133-08) o Sanwa KB-USB2 Multimeter cable o Siemens/BenQ EF81, SX1, X65 and X75 Mobile Phones o Sitecom USB-Serial Adapter o SMART Technologies USB-Serial Adapter o Sony QN3 Phone Cable o Sony Ericsson Datapilot o Sony Ericsson DCU-10 and DCU-11 (Susteen) USB Cables o SOURCENEXT KeikaiDenwa 8 (with and without charger) o Speed Dragon USB-Serial Cable o Syntech CPT-8001C Barcode Scanner o TDK UHA6400 and UPA9664 USB-PHS Adapters o TRENDnet USB to Serial Converter (TU-S9) o Tripp-Lite U209-000-R USB-Serial Adapter o UIC HCR331 Magnetic Stripe Card Reader o UIC MSR206 Magnetic Stripe Card Reader o Willcom W-SIM DD PHS terminal.(WS002IN) o YC-Cable USB-Serial Adapter o Zeagle N2iTion3 Diving Computer SEE ALSO
tty(4), ucom(4), usb(4) HISTORY
The uplcom driver appeared in NetBSD 1.6. This manual page was adopted from NetBSD by Tom Rhodes <trhodes@FreeBSD.org> in April 2002. BSD
July 25, 2012 BSD
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy