I have a class with an integer pointer, which I have not initialized to NULL in the constructor. For example:
class myclass
{
private:
char * name;
int *site;
}
myclass:: myclass(....)
: name(NULL)
{
.....
}
other member function “delete “ the variable before... (2 Replies)
Hi All,
I need help in writing a script. I need a script that takes a name as a parameter and executes the follwoing steps.
The name will be like BUDGET01_BARE_DLY_YYYYMMDD, BUDGET02_BARE_DLY_YYYYMMDD etc. The YYYYMMDD represent today( systemdate). This names have to be passed as... (2 Replies)
hi everyone i'm a noob trying to learn unix language.. but seems like i got no leads on how to start..
i'm playing with the 'ps' command.. i'm trying to show the pid, ppid, username, command, cpu utilization (in desc order), process start time and process status.. all in a command.. am i able... (3 Replies)
When i run a program in sun solaris i got core dumped with an error message as follows...
signal SEGV (no mapping at the fault address) in _malloc_unlocked at 0xfe1d44ac
0xfe1d44ac: _malloc_unlocked+0x022c: ld , %o3
Current function is GetEDBInfo
360 EXEC SQL
(dbx) where... (1 Reply)
Hi,
Can anyone please tell me where I can get the small projects with source code based on client-server programming using sockets in unix :confused::confused::confused:
Thanks in advance... (1 Reply)
Hello all,
One of the application we port to Aix from linux Segmentation faults when it exits. Here is part of backtrace of SEGV:
(dbx) where
splay(??, ??, ??) at
free_y(??, ??) at
free_common(??) at
....
exit(??) at
...
Application seem to perform everything expected well and... (1 Reply)
Hello - I need to know the detail of HUP and SEGV.
I know HUP is Hangup and can be use to kill a Unix login session remotely by sending a hangup signal to the process running the login session.
Could someone tell me in detail prupose of HUP and SEGV (segmentation violation)?
I need to... (1 Reply)
Hello
i ve got the following error on a C servor.
signal SEGV (no mapping at the fault address)
when running in dbx
program terminated by signal SEGV (no mapping at the fault address)
0xff1d5cb4: srch_dir+0x0154: cmp %o1, %o0
Current function is _log
533 ... (4 Replies)
Hi,
I am unable to copy the cursor value into character variable which is defined in nested structure by pointer.
typedef struct aaa
{
unsigned char device_type;
unsigned char encrypt;
unsigned short rec_len;
} ABC;
typedef ABC *Pabc;
typedef struct def
{
ABC... (9 Replies)
HI All,
I am doing a mini project following are the requirement
1. end user will connect to the system via ssh
2. all the key board inputs should be captured and based on "enter" it should send to an argument to another script
3. control + y, control + x should be ignored
Please provide me... (0 Replies)
Discussion started by: ramukumar
0 Replies
LEARN ABOUT CENTOS
rhn_register
RHN_REGISTER(8) Red Hat, Inc. RHN_REGISTER(8)NAME
rhn_register - Connect to Spacewalk Server, Red Hat Satellite or Red Hat Network Classic.
SYNOPSIS
rhn_register [options]
DESCRIPTION
rhn_register is a client program that registers your system with "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic".
After registering, your system can receive software updates, install new software, and remotely manage your system. It can run both in
graphical and text modes.
OPTIONS -v, --verbose
Increase the debugging output.
--proxy=PROXY
Specify an http proxy to use.
--proxyUser=PROXYUSER
Specify a username to use for an authenticated proxy. This option must be used in conjunction with proxyPassword.
--proxyPassword=PROXYPASSWORD
Specify a password to use for an authenticated proxy. This option must be used in conjunction with proxyUser.
--nox Run in text mode.
--version
Show the program's version number and exit.
-h, --help
Show a help message and exit.
FILES
/etc/sysconfig/rhn/systemid
The digital server ID for this machine if the system has been registered onto "Spacewalk Server" or "Red Hat Satellite" or "Red Hat
Network Classic". This file does not exist otherwise.
/etc/sysconfig/rhn/up2date
The common configuration file used by Red Hat client programs.
SEE ALSO rhn_check(8), rhnreg_ks(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5).
AUTHORS
See the AUTHORS file included with this software.
This manual page was written by James Bowes <jbowes@redhat.com>
BUGS
Report bugs to <http://bugzilla.redhat.com>.
COPYRIGHT
Copyright (C) 1999-2011 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Linux 2011 February 4 RHN_REGISTER(8)