10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: )
For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
2. UNIX for Beginners Questions & Answers
Please note that using the command cpio to back up to tape was successful. Used the below command:
time find /accts -print | cpio -oa --block-size=512 --format=newc --verbose -O /dev/nst0
I'm trying to restore from tape of a particular file and having issues. Below is the command to restore... (7 Replies)
Discussion started by: isoabv
7 Replies
3. Forum Support Area for Unregistered Users & Account Problems
I tried to register twice but without success ,I used the Hotmail email on both of them.
Im sure I typed the correct email, because I used " copy and paste" and I did the "re-sent the activation" option (10 Replies)
Discussion started by: BaxxterHp
10 Replies
4. HP-UX
Hi,
I have script in the cron which run at predefined time everyday.
If the script fails then we get the mail and a log is created.
But last night the script didnt run. If the script is even started it creates log so it seems the script never ran. It has never happened before.
Th... (5 Replies)
Discussion started by: shipra_31
5 Replies
5. UNIX for Dummies Questions & Answers
Hello Every one,
I want to back up all passwd files to /xyz/passfiles.cpio
and Then restore them to /abc directory.
Here is what I wrote:
find / -name passwd | cpio -oc > /tmp/passwd.cpio
and to restore
cd abc
cpio -ium < /tmp/passwd.cpio
I can not find the files restored to /abc... (2 Replies)
Discussion started by: drdigital_m
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
under unix aix , i had to put a catostrophic patch from an editor ...
i had first made a cpio backup
connected root
cd /application
find . –print | cpio –ocvBm > /sauvegarde/sauvegarde.cpio
Does someone know the command to restore my cpio backup ?
thanks in advandce to everyone
... (7 Replies)
Discussion started by: bzh35
7 Replies
7. SCO
Our company purchased a spare HP ML350 server - identical to current one in use to act as minimal downtime replacement should the inevitable happen.
After install of OS 5.0.7 and restore of cpiobackup I get this message:
-: Syntax error: Hostname= $inexpected
The SCO licence policy... (4 Replies)
Discussion started by: moondogi
4 Replies
8. Solaris
Hi...all
database - 10g Rs 2 with ASM
platform - Sun Solaris V890 64bit
This is the step i use to auto start the database n ASM: (auto start can start but need to kill lsvcrun first)
1 dbora---script
2 start_shutdown_asm.ksh---script
3. Dbora file must be put under /etc/init.d directory... (0 Replies)
Discussion started by: adzuanamir
0 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I use following command to restore data from my cpio tape archive:
$cpio -icvd < /dev/rct0
But this'll restore all tape contents to the current path, what if I want only selected files from the tape, suppose I want
/home/compdir/home2/Rev83/data/PL/01/*.*
files to be restored... (8 Replies)
Discussion started by: tayyabq8
8 Replies
10. UNIX for Dummies Questions & Answers
SCO/Caldera Unixware 711
Hi Friends,
I have a cpio file which was created using relative pathnames.
the relative pathname is users/data/*
I want to restore these files to a different directory with cpio.
An example restore directory is /home/suresh
Is this possible ?
Can someone... (4 Replies)
Discussion started by: sureshy
4 Replies
__gnu_pbds::sample_resize_policy(3) Library Functions Manual __gnu_pbds::sample_resize_policy(3)
NAME
__gnu_pbds::sample_resize_policy -
SYNOPSIS
Public Types
typedef std::size_t size_type
Public Member Functions
sample_resize_policy ()
sample_range_hashing (const sample_resize_policy &other)
void swap (sample_resize_policy &other)
Protected Member Functions
size_type get_new_size (size_type size, size_type num_used_e) const
bool is_resize_needed () const
void notify_cleared ()
void notify_erase_search_collision ()
void notify_erase_search_end ()
void notify_erase_search_start ()
void notify_erased (size_type num_e)
void notify_find_search_collision ()
void notify_find_search_end ()
void notify_find_search_start ()
void notify_insert_search_collision ()
void notify_insert_search_end ()
void notify_insert_search_start ()
void notify_inserted (size_type num_e)
void notify_resized (size_type new_size)
Detailed Description
A sample resize policy.
Definition at line 47 of file sample_resize_policy.hpp.
Member Typedef Documentation
typedef std::size_t __gnu_pbds::sample_resize_policy::size_type
Size type.
Definition at line 51 of file sample_resize_policy.hpp.
Constructor & Destructor Documentation
__gnu_pbds::sample_resize_policy::sample_resize_policy ()
Default constructor.
Member Function Documentation
size_type __gnu_pbds::sample_resize_policy::get_new_size (size_typesize, size_typenum_used_e) const [protected]
Queries what the new size should be.
bool __gnu_pbds::sample_resize_policy::is_resize_needed () const [inline], [protected]
Queries whether a resize is needed.
void __gnu_pbds::sample_resize_policy::notify_cleared () [protected]
Notifies the table was cleared.
void __gnu_pbds::sample_resize_policy::notify_erase_search_collision () [inline], [protected]
Notifies a search encountered a collision.
void __gnu_pbds::sample_resize_policy::notify_erase_search_end () [inline], [protected]
Notifies a search ended.
void __gnu_pbds::sample_resize_policy::notify_erase_search_start () [inline], [protected]
Notifies a search started.
void __gnu_pbds::sample_resize_policy::notify_erased (size_typenum_e) [inline], [protected]
Notifies an element was erased.
void __gnu_pbds::sample_resize_policy::notify_find_search_collision () [inline], [protected]
Notifies a search encountered a collision.
void __gnu_pbds::sample_resize_policy::notify_find_search_end () [inline], [protected]
Notifies a search ended.
void __gnu_pbds::sample_resize_policy::notify_find_search_start () [inline], [protected]
Notifies a search started.
void __gnu_pbds::sample_resize_policy::notify_insert_search_collision () [inline], [protected]
Notifies a search encountered a collision.
void __gnu_pbds::sample_resize_policy::notify_insert_search_end () [inline], [protected]
Notifies a search ended.
void __gnu_pbds::sample_resize_policy::notify_insert_search_start () [inline], [protected]
Notifies a search started.
void __gnu_pbds::sample_resize_policy::notify_inserted (size_typenum_e) [inline], [protected]
Notifies an element was inserted.
void __gnu_pbds::sample_resize_policy::notify_resized (size_typenew_size) [protected]
Notifies the table was resized to new_size.
__gnu_pbds::sample_resize_policy::sample_range_hashing (const sample_resize_policy &other)
Copy constructor.
void __gnu_pbds::sample_resize_policy::swap (sample_resize_policy &other) [inline]
Swaps content.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Jun 10 2014 __gnu_pbds::sample_resize_policy(3)