09-24-2008
mksysb
I am also afraiding today night we have activity, before that we need to take that. If its goes wrong
8 More Discussions You Might Find Interesting
1. AIX
Hi friends..
My one problem is not resolved yet I have another.
I am planning to take an OS backup of my p550 using "mksysb". Now i am confussed. suppose I give the command to take the backup into a tape drive and my backup size exceeds the tape capacity.. what will happen? will it ask for... (2 Replies)
Discussion started by: balaji_prk
2 Replies
2. AIX
I dont have either a tape drive or a DVD Writer attached to the AIX box. Can you let me know the possibilities of making an mksysb in a bootable media? This is required as we have a requirement to upgrade the OS. (2 Replies)
Discussion started by: chrisanto_2000
2 Replies
3. Cybersecurity
"421 service not available, remote server has closed connection."
I tried to do ftp to one of the unix server .
ftp hostname
password
It get connects when i do any command it throws error
ftp> ls
"421 service not available, remote server has closed connection." (1 Reply)
Discussion started by: vishaldsh
1 Replies
4. AIX
Hello everyone
I have two questions. I would like to hear your opinions, your tips.
I have several box with aix 5.3. the rootvg in each box has mirror. but I have a cron that makes a mksysb every week.
Do you think that it the best to have a mksysb of rootvg if I have a mirror on this... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
5. AIX
Hi All,
Working on AIX 4.2 system. On this server there is no tape drive or a DVD Writer attached to the AIX box.
I was able to do mksysb, but I got warning message saying it will not be bootable.
On the new system, I did install 5.3 and now I need to restore this mksysb image from the... (5 Replies)
Discussion started by: samnyc
5 Replies
6. HP-UX
All,
I know this question has been asked , but mine is different scenario
I am unsing HP unix, trying to transfer HP-Unix to HP-Unix.
I am transfering a bunch of file form machine1 to machine2. when i intiate my FTP script the files are getting transfered from machine1 to machine2.... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
7. Shell Programming and Scripting
Hi
I am trying to sort a file of 88075743B size. I am doing some processing on the file and after the processing is done; I get 2 files temp1 and temp2. I need to combine both these files as one and this final file should be sorted on fields 1 and 2. Space is the delimiter between fields. Record... (2 Replies)
Discussion started by: diksha2207
2 Replies
8. AIX
Hi, I have and IB RS/6000 machine running 32-bit AIX 4.3.3. We have a directory that is NFS mounted to this machine. Whenever I run the "ls" command in this directory, I get the following error: 0653-340 There is not enough memory available now
There was originally 512 MB of... (11 Replies)
Discussion started by: amp24
11 Replies
LEARN ABOUT MOJAVE
os_activity_initiate
os_activity_initiate(3) BSD Library Functions Manual os_activity_initiate(3)
NAME
os_activity_initiate, os_activity_initiate_f -- activity related routines
SYNOPSIS
#include <os/activity.h>
void
os_activity_initiate(const char *description, uint32_t flags, void (^activity_block)(void));
void
os_activity_initiate_f(const char *description, uint32_t flags, void *ctx, void function(void *ctx));
DESCRIPTION
An activity is essentially an identifier that is created by the system. The identifier is transported with work via GCD, XPC and other mecha-
nisms. The identifier simplifies debugging programs since it correlates the trace and log messages to the area in question. Although an
activity appears to have a start/end, it is only finished when no other work related to it is enqueued to be processed. Activity functions
only allow constant strings for performance and privacy, similar to os_trace(3).
Supported Activity Name:
os_activity_initiate("indexing database", OS_ACTIVITY_FLAG_DEFAULT, ^(void) {
[self indexDatabase];
});
Unsupported Activity Name:
snprintf(buffer, "indexing database for %s", username);
os_activity_initiate(buffer, OS_ACTIVITY_FLAG_DEFAULT, ^(void) {
[self indexDatabase];
});
os_activity_initiate and os_activity_initiate_f wraps the block or function with a new activity.
EXAMPLES
Example use of activity with a message.
#include <os/trace.h>
#include <os/activity.h>
- (IBOutlet) indexDatabase:(id) sender {
os_activity_initiate("index database", OS_ACTIVITY_FLAG_DEFAULT, ^{
os_trace("re-indexing database for %d", self.uid);
[self reIndex: self.uid];
});
}
SEE ALSO
os_trace(3), os_log(3)
Darwin June 1, 2019 Darwin