03-22-2018
Transaction based resources
How do I determine the resources needed based on volume of transactions. By resources I mean, the cores, memory etc. Is there a way to arrive at that value?
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have large daily log file(s) that hold the times for requests and responses on different system requests. What I want to do is work out average transaction times for the day (one log = one day).
The problem I'm having is figuring out how to skip rows, i've sorted the output by uniq... (2 Replies)
Discussion started by: nhatch
2 Replies
2. UNIX and Linux Applications
We are getting below error when processing a transaction through ESB.
I work for SOA admin and checked the JCA connection is working fine also code also working fine in other envs.
An unhandled exception has been thrown in the ESB system. The exception reported is:... (1 Reply)
Discussion started by: KuldeepSinghTCS
1 Replies
3. Shell Programming and Scripting
Hi guys, I was wondering if someone can give me a hand in helping me append transaction header line in a file at the end of the transaction detail lines.
Basically, I have a file that looks like this:
FHEAD File1
THEAD TRANS1-blah
TDETL HI1
TDETL HI2
TDETL HI3
TTAIL TRANS1-blah
THEAD... (3 Replies)
Discussion started by: rookie12
3 Replies
4. Solaris
HI,
Can anyone explain me the concept behind ZFS transactional semantics (either a transaction is entirely commited or it is not)? so data and disk failures are reduced. (5 Replies)
Discussion started by: Revathi@1
5 Replies
5. UNIX for Dummies Questions & Answers
Can some one help me related to .sql file issue.
I have a .sqlfile and tried to read the file thru unix. In the .sqlfile I have error rows as well and when error comes I dont want to proceed further and need to roll back all the transactions.
sample .sql file below
insert into
test... (2 Replies)
Discussion started by: sri_aue
2 Replies
6. Shell Programming and Scripting
Hi ,
I have a situation where I have to Process files ( move , edit or rename ) in a folder ..... This folder is a FTP folder and Files keep coming in when they are available ... So I should perform my actions on those which which completed transaction .. .
Is there a way to identify a... (3 Replies)
Discussion started by: chillblue
3 Replies
7. Programming
What's the difference between BEGIN TRANSACTION vs START TRANSACTION?
Also goes for COMMIT TRANSACTION vs COMMIT? (0 Replies)
Discussion started by: dan139
0 Replies
LEARN ABOUT SUNOS
lgrp_resources
lgrp_resources(3LGRP) lgrp_resources(3LGRP)
NAME
lgrp_resources - get lgroup resources of given lgroup
SYNOPSIS
cc [ flag ... ] file... -llgrp [ library ... ]
#include <sys/lgrp_user.h>
int lgrp_resources(lgrp_cookie_t cookie, lgrp_id_t lgrp, lgrp_id_t *lgrpids, uint_t count, lgrp_rsrc_t type);
The lgrp_resources() function takes a cookie representing a snapshot of the lgroup hierarchy obtained from lgrp_init(3LGRP) and returns
the number of resources in the lgroup specified by lgrp. The resources are represented by a set of lgroups in which each lgroup directly
contains CPU and/or memory resources.
The type argument should be set to one of the following values to specify whether the CPU or memory resources should be returned:
LGRP_RSRC_CPU /* CPU resources */
LGRP_RSRC_MEM /* Memory resources */
If the lgrpids[] argument is non-null and the count argument is non-zero, lgrp_resources() stores up to the specified count of lgroup IDs
into the lgrpids[] array.
Upon successful completion, lgrp_resources() returns the number of lgroup resources. Otherwise, -1 is returned and errno is set to
indicate the error.
The lgrp_resources() function will fail if:
EINVAL The specified cookie, lgroup ID, or type is not valid.
ESRCH The specified lgroup ID was not found.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
lgrp_children(3LGRP), lgrp_init(3LGRP), lgrp_parents(3LGRP), liblgrp(3LIB), attributes(5)
26 Jan 2005 lgrp_resources(3LGRP)