Sponsored Content
Top Forums Shell Programming and Scripting Is it possible to get the database details in UNIX? Post 302827819 by clx on Sunday 30th of June 2013 11:08:09 PM
Old 07-01-2013
I read it correct but its possible that I misunderstood the requirement. So you might be right.

My assumption was, if OP doesn't know the Host, SID and Port how can he figure out the database details from tnsnames.ora since there is no mapping with user-name out there.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

IP details for Unix/Linux login clients?

Hi there, I am wondering if by logging in to a unix system, if it is possible to get the IP address of the machine I am connecting FROM. I know how I can do this using the name server, but is this possible without a host lookup?:confused: Thanks, -ghoti (15 Replies)
Discussion started by: ghoti
15 Replies

2. UNIX for Dummies Questions & Answers

Unix Database

Hi :) I'm a new unix user and i don't know much things about it.At the moment i've to make a work about unix databases.so i decided to come here and ask for help, if someone could tell me about a site or other mean where i can get some information about this i'll be pleased. Tanks for any... (3 Replies)
Discussion started by: Briga
3 Replies

3. Filesystems, Disks and Memory

how to find out unix server details

I like to find out Server Drive/Storage Specifications like Drive Size? Storage Type: Local or SAN ? Number of Processors: Processor Speed: Memory: please someone help me out how I can get from command line? Thanks you in advance (4 Replies)
Discussion started by: thopputhurai
4 Replies

4. UNIX for Dummies Questions & Answers

unix path details

Greetings to everyone, iam a new unix learner. i just jumped from windows to unix. in my office iam accessing unix machine thro telnet. i got this path details after executing the following command echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/mipl/bin. can... (2 Replies)
Discussion started by: vijayq8
2 Replies

5. Shell Programming and Scripting

Disk space details from Unix to Outlook

Hi Friends, I am using sun Solaris . I want to find the disk space (df -k) for the Unix box and the data has to be sent to an email id. Can u please find me a code that checks the disk space 6 times a day, loads the data into an excel sheet and sends to an email id. Can u also tell me how to... (2 Replies)
Discussion started by: sridharnr
2 Replies

6. UNIX for Dummies Questions & Answers

how to check SMTP server details on Unix

Hi All, I am trying to figure out how to check SMTP server details on Unix enviornment? I tried using echo "hello" | sendmail -v abc@xyz.com and got following error: -bash: sendmail: command not found -bash: echo: write error: Broken pipe Any help will be much appreciated regarding... (2 Replies)
Discussion started by: palak08
2 Replies

7. UNIX for Advanced & Expert Users

UNIX / LINUX OS CPU configuration details

Hi, How to find the cpu configuration details of Cores, Speed MHz, virtual processors for the following servers: LINUX OS Servers: Linux 2.6.9-89.0.3.ELsmp #1 SMP Sat Jun 13 07:05:54 EDT 2009 i686 i686 i386 GNU/Linux. (Cores, Speed, Processor) Linux 2.6.18-164.el5 #1 SMP Tue Aug 18... (5 Replies)
Discussion started by: jagtheesh
5 Replies

8. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

9. Shell Programming and Scripting

How to log file processing details to database table usnig UNIX shell script?

we are getting files on daily basis.we need to process these files. i need a unix shell script where we can count 1-The no of files processed 2-No of data/record processed for each files. The script should log these details into a database table. If there is any error while file... (3 Replies)
Discussion started by: Atul kumar
3 Replies

10. UNIX for Beginners Questions & Answers

Generic script to load file details(ls -ltr) in to a database.

All, I am trying to create a report on the duration of an ETL load from the file arrival to the final dump in to a database for SLA's. Does anyone have any guidance or ideas on how metadata can be extracted; information of a file: like file name, created timestamp, count of records and load... (1 Reply)
Discussion started by: pradeepp
1 Replies
NUTOP(8)																  NUTOP(8)

NAME
nutop - display top NUFW Users SYNOPSIS
nutop [ -help ] [ -c config file ] [ -delay refresh delay (seconds) ] [ -line number of lines to display ] [ -databasetype mysql/pgsql ] [ -host db host ] [ -user db username ] [ -pass db password ] [ -databasename db database name ] [ -tablename db table ] [ -port db port ] DESCRIPTION
This manual page documents the nutop command. Nutop is to be used by administrators willing to view users activity on a NuFW server, in real time. The display is designed to look a lot like the well known top command, as far as general layout is concerned. The default configuration file (containing SQL connections parameters) is located at /etc/nufw/nutop.conf. If decided to customize it to their needs, care should be taken about file permissions on that file, as it might let any user of the system access to the NuFW connection tracking database. Original packaging and informations and help can be found from http://www.nufw.org/ OPTIONS
-help Issues usage details and exits. -c config file Specifies config file to read SQL parameters from. Default is /etc/nufw/nutop.conf -delay number Specifies a rate to refresh display. This parameter is interpeted as a number of seconds. Default is 2s. -line number Number of lines to display. Default : 20 -databasetype mysql/pgsql Type of database to connect to. Default is mysql. This setting also sets the default port setting. -host hostname/IP IP address or FQDN of database we connect to. Default value : 127.0.0.1 -user username Database username to connect as. Default is "nutop" -pass password Password to use to connect to database. -databasename name of database Name of database we connect to. Default is "nulog" -tablename name of table Name of SQL table to use for queries. Default is "ulog" -port TCP port TCP numeric port to use for database connection. Default is 3306 if databasetype is mysql, 5432 if pgsql. SEE ALSO
nuauth(8), nufw(8) AUTHOR
Nufw was designed and coded by Eric Leblond, aka Regit (<eric@inl.fr>) , and Vincent Deffontaines, aka gryzor (<vincent@inl.fr>). Original idea in 2001, while working on NSM Ldap support. This manual page was written by Vincent Deffontaines Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 2 as published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. 18 mars 2007 NUTOP(8)
All times are GMT -4. The time now is 06:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy