Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scripts need some help please 1

Status
Not open for further replies.

alexia32

Technical User
Jul 31, 2007
156
NZ
Hello
I have a script that collect all inventory of my aix machines and the output is a txt file and I have a nim server configured with apache 2 and php.
I would like to be able to automate the change of the txt file to html or csv etc.. directly instead of ftp the file to my pc and open it as xls and save it and then ftp back manually to my server (I am using ":" as a separator)

If you know any code that can help me write directly on html (which means creating table and updating and have a nice inventory server list on the website... something easy for a beginner not to long for me to understand and try to make it work :)

thanks in advance for any advice.

cheers
Al.
 
Hi Al,

Can you show me the source file (or at least part of it)?

Regards,
Khalid
 
the txt file will have all information sperated by ";"
"Data Center";" Location";" Machine";" Environment";" Serial#";" State";" LPARs";" Max CPU ";" Desired CPU ";" Configured CPU ";" AvailableCPU ";" Max Memory Mb";

 
use txt2html found at
Mike

"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
 
Thanks Mike but I don;t think I will get a nice table like on excel. Ideally I would like my output (value from HMC such as number of CPU etc...) are a nice table.
I will try this tool and see how it goes and let you

Cheers
Al
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top