Sponsored Content
Top Forums UNIX for Beginners Questions & Answers General Purpose XML Processing Post 302973809 by RavinderSingh13 on Sunday 22nd of May 2016 03:30:29 AM
Old 05-22-2016
Hello Corona688(One of the Gems of this forum),

First of all a big THANK YOU for writing this brilliant code Smilie(fan of you always). Could you please post a example or complex example for a Input_file and code too here, I apologies to bother you on same but it will be helpful for us to understand the code more clearly. I will be grateful to you if you could do so.

Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Looking for a general purpose System Monitor

Does anyone have any scripts or suggestions on a general purpose Unix/Linux monitoring tool? (5 Replies)
Discussion started by: darthur
5 Replies

2. Shell Programming and Scripting

need help on xml processing

I am trying to divide a xml file(my.xml) like this: <?xml version="1.0" encoding="UTF-8"?> <Proto PName="hmmmmmmm"> <Menu id="A" ver="1"> <P> <P name="AA" Type="X"/> <P name="BB" Type="Y"/> <P name="CC" Type="Z"/> </P> ... (4 Replies)
Discussion started by: demoprog
4 Replies

3. Shell Programming and Scripting

CSV processing to XML

Hi, i am really fresh with shell scripting and programming, i have an issue i am not able to solve to populate data on my server for Cisco IP phones. I have CSV file within the following format: ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;... (9 Replies)
Discussion started by: angel2008
9 Replies

4. Programming

help me with perl script xml processing

Hi everyone, I have Xml files in a folder, I need to extract some attribute values form xml files and store in a hash. My xml file look like this. <?xml version="1.0" encoding="UTF-8"?> <Servicelist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"... (0 Replies)
Discussion started by: pavani reddy
0 Replies

5. Shell Programming and Scripting

Help with XML file processing

I need to get all session_ID 's for product="D-0002" from a XML file: Sample input: <session session_ID="6411206" create_date="2012-04-10-10.22.13.000000"> <marketing_info> <program_id>D4AWFU</program_id> <subchannel_id>abc</subchannel_id> </marketing_info> ... (1 Reply)
Discussion started by: karumudi7
1 Replies

6. Shell Programming and Scripting

processing xml with awk

With the following input sample extracted from a xml file <rel ver="123"> <mod name="on"> <node env="ac" env="1"> <ins ip="10.192.0.1"/> <ins ip="10.192.0.2"/> ... (1 Reply)
Discussion started by: cabrao
1 Replies

7. UNIX for Beginners Questions & Answers

General Purpose Date Script

There must be thousands of one-off solutions scattered around this forum. GNU Date is so handy because it's general but if they're asking they probably don't have it. We have some nice scripts but they tend to need dates formatted in a very particular way. This is a rough approximation which... (18 Replies)
Discussion started by: Corona688
18 Replies
PWMCONFIG(8)						      System Manager's Manual						      PWMCONFIG(8)

NAME
pwmconfig - tests the PWM outputs of sensors and configures fancontrol SYNOPSIS
pwmconfig WARNING
pwmconfig will attempt to stop your fans, one at a time, for approximately 5 seconds each. This may cause your processor temperature to rise. Verify that all fans are running at normal speed after this program has exited. pwmconfig does its best to check that the fans are spinning when they are supposed to, but due to the diversity of available motherboards and fans, it shouldn't be blindly trusted. Always verify by yourself. It is strongly recommended to run pwmconfig at a time when there is no significant system load, to minimize the risk of overheating. DESCRIPTION
pwmconfig searches your sensors for pulse width modulation (PWM) controls, and tests each one to see if it controls a fan on your mother- board. Note that many motherboards do not have PWM circuitry installed, even if your sensor chip supports PWM. When a connection is established between a PWM control and a fan, pwmconfig can generate a detailed correlation, to show how a given fan is responding to various PWM duty cycles. Lastly, pwmconfig will enter in fancontrol configuration mode (unless you decide to skip that part.) In this mode, you are invited to enter several parameters which will determine how the fancontrol daemon regulates the speed of one or more fans in your system based on tempera- ture measurements. In particular, you will have the opportunity to establish mappings between fans and temperature inputs, define the tem- perature range over which the speed of the fan should be adjusted dynamically, the minimum speed at which the fan should spin, etc. See fancontrol(8) for additional information. BUGS
The term "PWM" is used because most fan control systems in computers are based on pulse width modulation. Some motherboards however use DC variation instead. So, the term "PWM" should be seen as a generic term for "fan speed control", regardless of the actual method used. SEE ALSO
fancontrol(8), sensors(1). AUTHORS
Marius Reiner <marius.reiner@hdev.de>, Jean Delvare <khali@linux-fr.org> lm-sensors 3 September 28, 2008 PWMCONFIG(8)
All times are GMT -4. The time now is 08:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy