09-05-2011
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I've got a very peculiar situation. I'm trying to find out if we can compare null fields with non-null. I've output csv files from SQL and Oracle. I need to compare each field from the files, and then find out any differences. The files usualy have over 500 fields, and send the resule to DBA.... (8 Replies)
Discussion started by: nitin
8 Replies
2. Solaris
Hi All,
In my application malloc is returning NULL even though there is sufficient amount of free memory is available but swap memory is low.
Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?:)
Kindly look into... (5 Replies)
Discussion started by: Ritesh Kumar
5 Replies
3. UNIX for Dummies Questions & Answers
Hi All,:)
In my application malloc is returning NULL even though there is sufficient amount of free memory available but the swap memory is low.
Is this possible that, if free memory is high & swap memory is low, malloc will not be able to allocate memory & return NULL ?
Few details:
... (4 Replies)
Discussion started by: Ritesh Kumar
4 Replies
4. Programming
Hi,
I am having an issue using getservbyport. Here is a little program to demonstrate the problem (removed the includes):
int
main(void) {
struct servent *service;
int memsize = sizeof(struct servent);
service = (struct servent *)malloc(memsize);
... (2 Replies)
Discussion started by: goon12
2 Replies
5. Shell Programming and Scripting
Hi,
The following shell script returning null results could you please tell me whats the problem in script,
*********************************
#!/bin/ksh
. $HOME/conf/systemProperties/EnvSetup.properties
a=`date +"%y%m%d"`
set -x
for i in `cat... (2 Replies)
Discussion started by: shivanete
2 Replies
6. Shell Programming and Scripting
I have an input file having 7 fields delimited by ,
eg :
1,ABC,hg,1,2,34,3
2,hj,YU,2,3,4,
3,JU,kl,4,5,7,
4,JK,KJ,3,56,4,5
The seventh field here in some lines is empty, whereas the other lines there is a value.
How do I insert string NULL at this location (7th loc) for these lines where... (8 Replies)
Discussion started by: zilch
8 Replies
7. UNIX for Dummies Questions & Answers
How are these two different? They both prevent output and error from being displayed. I don't see the use of the "&"
echo "hello" > /dev/null 2>&1
echo "hello" > /dev/null 2>1 (3 Replies)
Discussion started by: glev2005
3 Replies
8. Shell Programming and Scripting
I apologize if this question has been answered else where or is too elementary.
I ran across a KSH script (long unimportant story) that does this:
if ; then
CAS_SRC_LOG="/var/log/cas_src.log 2>&1"
else
CAS_SRC_LOG="/dev/null 2>&1"
fithen does this:
/usr/bin/echo "heartbeat:... (5 Replies)
Discussion started by: jbmorrisonjr
5 Replies
9. Programming
I am calling getpwnam_r with all proper argument as below:-
rv = getpwnam_r(name, result, buffer, buflen);
This program runs fine on sol 8/9/10.
But on sol 11 it returns NULL with errno set to 25
(#define ENOTTY 25 /* Inappropriate ioctl for device */)
All boxes are... (2 Replies)
Discussion started by: Ranajit
2 Replies
10. Programming
Hi All,
I am using malloc function for allocating dynamic memory.
When I am using below code on Linux server its working fine, but When I am trying the same code on HP UNIX server its returning NULL.
below is a fragment of code in which it is giving problem.
tmp = (format_tree... (4 Replies)
Discussion started by: Taher Saifuddin
4 Replies
disco(1) General Commands Manual disco(1)
NAME
disco - Mono's Web Service Discovery Tool
SYNOPSIS
disco [options] url
DESCRIPTION
disco is a tool for discovering web services and for retireving the documents that describe those services.
url is the location of a DISCO document, which includes a list of WSDL documents, XML schemas and references to other DISCO documents.
disco downloads the DISCO document and all referenced documents (unless the -nosave option is specified), and saves them to disk.
OPTIONS
The following options are available:
-nologo
Supress the startup logo.
-nosave
Do not save the discovered documents to disk. The default is to save the documents.
-o:directory , -out:directory
The directory where to save the discovered documents. By default, documents are saved in the current directory.
-u:username , -user:username
The user name to use when connecting to the server.
-p:password , -password:password
The password to use when connecting to the server.
-d:domain , -domain:domain
The domain to use when connecting to the server.
-proxy:url
The url of the proxy server to use for http requests.
-proxyusername:username
The user name to use when connecting to the proxy.
-proxypassword:password
The password to use when connecting to the proxy.
-proxydomain:domain
The domain to use when connecting to the proxy.
AUTHORS
Lluis Sanchez Gual (lluis@ximian.com)
LICENSE
disco is released under the terms of the GNU GPL.
SEE ALSO
wsdl(1), soapsuds(1), mono(1), mcs(1)
disco(1)