proc

How to use joins on Pro*C 10g?

While using inner join on Pro*C I am getting the below error: PCC-S-02201, Encountered the symbol "inner" when expecting one of the following: I've just used a simple inner join. When I searched for solution, I was told that 10g doesn't support these kind of syntax and I should use dynamic SQL instead. Is that true? How to achieve inn...

How can i match each /proc/net/tcp entry to each opened socket?

I salute you, StackOverflow gurus ;) I'm trying to parse socket info from /proc/net/tcp and while I can identify some fields, such as memory addresses or send queue use, I can't find how each entry is bound to its socket descriptor. E.g., with this data: 1: 5922140A:E459 D5C43B45:0050 01 00000000:00000000 00:00000000 00000000 1000 ...

Updating an Oracle table with data from a SAS data set using SAS code

Hello all, I am rather new to SAS and I have run into a problem that I think probably has a better solution than what I've found so far. I need to update a Oracle db table that has around 1 million rows with data from a SAS data set that has about 10,000 records. I used an update statement within proc sql, but it takes hours to upd...

How to pass parameters to a proc when calling it by a method? (ruby)

proc = Proc.new do |name| puts "Thank you #{name}!" end def thank yield end proc.call # output nothing, just fine proc.call('God') # => Thank you God! thank &proc # output nothing, too. Fine; thank &proc('God') # Error! thank &proc.call('God') # Error! thank proc.call('God') # Error! # So, what should I do if I have to pass the ...

Understanding the counters in /proc/[pid]/io

I'm creating a plugin for Munin to monitor stats of named processes. One of the sources of information would be /proc/[pid]/io. But I have a hard time finding out what the difference is between rchar/wchar and read_bytes/written_bytes. They are not the same, as they provide different values. What do they represent? ...