Questions tagged [uss]

In Linux, unshared memory is reported as the USS (Unique Set Size).

In Linux, unshared memory is reported as the USS (Unique Set Size).

20 questions
8
votes
4 answers

Calling procrank doesn't work on real devices

according to a google io video about getting to know how much memory you app takes , you can use procrank and read the USS value of it. i've tried it out on emulators (no matter which version i use - from 2.3.x to 4.1) and it works well , but…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
6
votes
0 answers

Android - get USS memory allocation programmatically

I force this problem: I need to know USS memory allocation (= how much RAM is allocated by your APP) for my app. I know, it is possible to get this info from "adb shell procrank", but I want to have it programmatically. Is there any way how to do…
Waypoint
  • 17,283
  • 39
  • 116
  • 170
5
votes
1 answer

Command not found although in PATH

In my sh or tcsh I can call netstat without problems. With Bash however, I get the message: bash: netstat: command not found The PATH variable is exactly the same for all…
Klaus Schulz
  • 527
  • 1
  • 5
  • 20
3
votes
1 answer

Change directory in REXX exec running in z/OS USS?

I'm in the USS shell under TSO, and I have this exec (named tryit): /* rexx */ "cd /differentdir" "pwd" Here's the result: > pwd /origdir > tryit /origdir In other words, the effects of the cd command appear to last only for the duration of the…
Oh Come On
  • 153
  • 8
2
votes
1 answer

Identify environment, z/OS UNIX vs JCL or TSO

What function can I call from inside a C program, to discover what z/OS environment the program is being run in, e.g. is it z/OS UNIX (aka USS) or is it from TSO, say via JCL?
Morag Hughson
  • 7,255
  • 15
  • 44
2
votes
1 answer

Connect between PID and port on ZOS

My question relates to ZOS 2.1 and 1.13, I am looking for a command in ZOS like netstat -ano in Windows. I have a port number of TCP Connection and I want to know the PID that connects to it. I know a system MVS command for users and TCP: /d…
Nessi
  • 51
  • 1
2
votes
1 answer

Does PSS (Proportional Set Size) number for a process include the memory consumed by kernel code?

I used the smem command to find PSS/USS numbers for a process. As per the smem man page, "The unshared memory (USS) plus a process's proportion of shared memory is reported as the PSS (Proportional Set Size)." Now does all the Linux kernel code…
sob
  • 982
  • 11
  • 31
2
votes
3 answers

Gnu Make and z/OS USS make

1) We have a need for Makefiles to build C++ on both z/OS USS and a Linux platform. Is it advisable to use gnu make on z/OS USS in order to keep our makefiles common ? 2) If the Makefiles are common, then some steps in the Makefiles, would still be…
Mark Lakewood
  • 1,980
  • 4
  • 22
  • 44
1
vote
3 answers

How to use CP to copy variable length datasets and pds members?

I've been trying to use cp under OMVS to copy z/OS datasets into OMVS files and the copy to OMVS seems to work but the copy back to z/OS fails miserably with multiple records combined. I don't see any cp option to support variable length records. I…
Lionel B Dyck
  • 552
  • 2
  • 9
1
vote
3 answers

How to write a z/OS Health Check?

I would like to write a health check for z/OS but am unclear on where to begin. Any advice, examples, or direction available? Also, is it possible to write a Health Check in Unix System Services?
Jade Steffen
  • 130
  • 2
  • 10
1
vote
0 answers

USS memory mapping with malloc(s) in process

I am working on memory optimization for my process and trying to map the allocated mallocs (tracked through sigwinch) with the USS memory(libc_malloc) Problem is: USS lists showing pretty large allocations than what allocation has been called from…
1
vote
0 answers

Siemens USS software stack

Is there a free/open software stack for Siemens USS telegram written in C? Preferable, it should be written in/for a embedded bare metal system with/without a support of a Real time kernel. I want to incorporate the stack in an existing system to…
user6127660
  • 31
  • 1
  • 4
1
vote
2 answers

JAVA runtime exec throwing IOException for netstat command in mainframe USS environment

I am trying to execute netstat command from java using runtime execution, but it throwing below IOException. It works fine for other commands, even the synonym command onetstat is working fine. I am trying understand why netstat alone is failing and…
Gangadhar Kairi
  • 470
  • 4
  • 11
1
vote
3 answers

Connecting to DB2 from USS on z/OS mainframe

I am writing a C program in Unix System Services on a z/OS mainframe. One of the requirements is to get a sequence number from a DB2 database residing on the same mainframe. Not having DB2 Connect available, I'm wondering what my options might be. I…
Joe Suarez
  • 553
  • 1
  • 7
  • 21
1
vote
1 answer

USS C++ socket programming and _OE_SOCKETS

I'm currently porting an app on MVS using the USS interface. I'm facing an issue compiling (using c++ compiler) the following program: #define _XOPEN_SOURCE_EXTENDED 1 #define _OE_SOCKETS #include #include #include…
1
2